473,543 Members | 2,088 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C# / C Sharp Forum

6
1,122
thread by: Flip | last post Nov 15 '05 by: Flip
Is it possible to use another DB instead of SQL Server? I don't have SQL Server, but I do have IIS, FP Extensions as well as MySQL and would like to use that. Is it possible? Thanks.
2
293
thread by: Owen | last post Nov 15 '05 by: Tu-Thach
Hello: How I can know the class of some object?. Like in Object Pascal with this sentence TObject.ClassType = SomeClass? Best Regards.
8
36,418
thread by: Wim | last post Nov 15 '05 by: Wim
My GUI application starts a process (a console program) when the user hits Play. I would like to add an option to pause that process. The code I've added to detect if the user hit pause/unpause seems to work. But I have no clue how to pause/suspend the process. As far as I can see the Process class doesn't offer anything for this. So it's...
1
1,953
thread by: Hubert Hermanutz | last post Nov 15 '05 by: Vjekoslav Babic
Hello, I use an initialized "System.IO.FileInfo" class. The properties "myFileInfo.FullName" or "myFileInfo.DirectoryName" deliver the directory with MS-DOS convention. Example: "c:\docume~1\...". How can i get the full Path. Example: "c:\documents\..."
0
1,899
thread by: Arthur Mnev | last post Nov 15 '05 by: Arthur Mnev
Css files are great, Programmatic CssStyleCollections are great; does anyone know how I can do an import of external Css stylesheet into CssStyleCollection? - Arthur
3
14,373
thread by: Oleg Ogurok | last post Nov 15 '05 by: Jay B. Harlow [MVP - Outlook]
Hi all, I'm trying to write a simple Windows Service that will "do something" at a given time, for example call a method at 5pm. What's the easiest way to schedule a task like that in C# ? All I can think of right now is checking the system clock every minute or so until it hits 5pm, but I feel there has to be a better way. Note, please...
2
1,596
thread by: JJ | last post Nov 15 '05 by: Joe Mayo [C# MVP]
Hi, I am trying to understand the lifetime or scope of a class in this project. Here is the code that I am talking about: private void PopulateCategoryCombo() { ListItem objListItem;
0
3,269
thread by: Daniel Reber | last post Nov 15 '05 by: Daniel Reber
I am trying to start a process from a windows service but when the process starts the command window that the process runs in never shows. Is this because I am calling it from a windows service? Is there something else that I need to do? Here is my code: System.Diagnostics.ProcessStartInfo info = new...
4
2,177
thread by: EL OSO | last post Nov 15 '05 by: Matthew W. Jackson
Hi! I am about to create a small application that needs to process some files stored in a directory. GetFiles() returns a string array, OK, but I'm expecting to find MANY (over 150.000) files in the directory and I'm worried about getting a memory overflow, since I expect something like... 15 letters per name in the average. Is there any...
0
1,962
thread by: Sandy | last post Nov 15 '05 by: Sandy
I am using ItemDataBound so I can use a onmouseover to highlight the entire row. I am also using an onclick to open a detail view of the datagrid. I have the contactid in a hidden column of the datagrid. How can I extract the contactid from my datagrid and pass it into the url? Also, would the url string I have below work if I had the correct...
1
8,606
thread by: TOI DAY | last post Nov 15 '05 by: mikeb
Hi All, This is what I want to do. Support I have two file name abc.txt, xyz.txt I did created md5 hash for abc.txt and store it some directory Here is how I create md5 for the abc.txt FileStream file1 = new FileStream(abc.txt, FileMode.Open, FileAccess.Read); MD5CryptoServiceProvider md5 = new MD5CryptoServiceProvider();
2
2,368
thread by: john sutor | last post Nov 15 '05 by:
Does anyone know how to create a combobox in a standard datagrid? I can create check boxes , but not the combobox
4
1,314
thread by: Bleedledeep | last post Nov 15 '05 by: mikeb
Ok, newbie to .NET, C# here. I have multiple solutions/projects. How do I do a "build" across these? Also, I have some .resx files that must be converted to .resources files, and I have been unable to find a mechanism inside of the .NET build mechanism to do this. (been doing it by hand with resgen) Note that I am using ResourceReader...
0
1,546
thread by: Lou | last post Nov 15 '05 by: Lou
How would I go about converting a series of 32 bit .tga files to an .avi file w/alpha?
3
1,325
thread by: Dmitry | last post Nov 15 '05 by: Sam Gentile [MVP]
Hi, I have defined interface for COM components which inludes an argument being filled with additional error info, if such occurs. If inside I raise COM Error, I populate that parameter. In COM environment this architecture works beautifully -- caller application gets negative HRESULT and error description from IErrorInfo object, and...
2
4,074
thread by: Nat | last post Nov 15 '05 by: Coder Coder
Hi I have a webapplication in c# using asp.net. I have several tooltips wich gets their content from a content.xml file. My quistion is now: Can't I use AutoPopDelay, InitialDelay etc. on tooltips in a webapplication? And if I can what do I have to write?
3
1,536
thread by: Chuck Conlow | last post Nov 15 '05 by: Eric Gunnerson [MS]
Greetings. I'm using the Personal (I think that's what it's called) edition of VS C# and I want to build a .dll, which is not an option presented in the IDE. I *think* I can build one from the command line, but am unsure of the syntax. Any pointers? Assume only one .cs file (library.cs). Thanks for any help!
3
8,375
thread by: rua17 | last post Nov 15 '05 by: Sam Gentile [MVP]
I add tow Com libraries to my project, I can see their content with intellisense, but when I instantiate a class contained in the library: PDDirectLib.PDDatabaseQuery pDbQuery = new PDDirectLib.PDDatabaseQuery(); It raises an unhandled exception "Class not registered" any idea???
4
25,743
thread by: Daniel Reber | last post Nov 15 '05 by: Daniel Reber
I am trying to start a process from a windows service but when the process starts the command window that the process runs in never shows. Is this because I am calling it from a windows service? Is there something else that I need to do? Here is my code: System.Diagnostics.ProcessStartInfo info = new...
4
11,896
thread by: Ygnacio Durán | last post Nov 15 '05 by: Peter Rilling
Hi there, I'm new in c# and need to know how to get the position of the cursor in a textbox control. For example, let be the text : "My text", if the cursor position is behind the "x", then the position is 5. Thanks a lot.
6
1,626
thread by: Mark | last post Nov 15 '05 by: Frank Oquendo
When developing C# applications in VS.NET, you get intellisense descriptions for all methods in the .NET class libraries. I've created my own .NET assembly and included /// C# documentation of all my methods, classes, etc.. The intellisense works great when this .NET assembly project is included in the solution I'm working on. However, if I...
3
1,078
thread by: Flip | last post Nov 15 '05 by: UAError
Does c#/.net support custom tags like j2ee does? I don't mean to start a flaming war, I'm just honestly looking to find out. From what I've seen/google'd it doesn't, so I just thought I would ask here, maybe I was missing something? And while I'm at it, does c#/.net have something similar to ejbs? And what about servlets? Do you call...
2
2,845
thread by: Nick McCamy | last post Nov 15 '05 by: Jon Skeet [C# MVP]
I have a question related to allocating on the stack. In this program below, are my following assumptions true? - variable a is allocated on the heap since it's static - variable b is allocated on the stack since it's a value type variable - variable d is allocated on the stack since it's a value type variable Where does variable "c"...
2
1,061
thread by: stpatrickjr | last post Nov 15 '05 by: AirPete
It seems that Microsoft always leaves out a peice of functionality that logically belongs somewhere. (I am new to this language. In the integer object there are many methods that are always needed, such as hashing, typeing, and converting into a string In the string object there are many methods that are always needed, such as hashing and...
0
887
thread by: Neet | last post Nov 15 '05 by: Neet
Hi, I am pretty new to using ActiveX controls. My entire application has been developed in ASP.NET and it involves printing Labels. The client connects to the application server which generates the label and then calls an ActiveX Control to print the label at the client side. I was wondering if that is possible in .NET. Does anyone know how i can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.