473,544 Members | 1,876 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C# / C Sharp Forum

2
966
thread by: Zach | last post Nov 17 '05 by: Zach
With Studio .NET (using ASP IDE and C#) I have created a dll. The dll contains a form. I have a website. From that website I wish to call the form in the dll. Presumably I need a couple of script lines in an existing page of my website to call the form. I don't know how to do this and would be grateful for some help. Considering that maybe...
4
1,618
thread by: MikeY | last post Nov 17 '05 by: MikeY
Hi Everyone, I'm getting stumped here. I've been trying to use the FolderBrowserDialog for the first time, but to no avail. Can someone please give me adive on how to use this. I don't know if I sould be having a component in my toolbox like openfile/savefile. Or where to begin with this. I am trying to write a C# window form. Any and all...
2
3,222
thread by: VanBurg | last post Nov 17 '05 by: Soeren S. Joergensen
Hallo! I have to do the following tasks: 1) I need to read first 4 bytes from file 2) Get all 32 bits for editing 3) Change some bits and save its back to file For now i have to understand how to do only this:
1
1,924
thread by: ad | last post Nov 17 '05 by: hashimisayed
Hi, It will fail to call a web service when the connection to internet is not OK. I wnant to check the connection to internet before call a web service. How to determinate if the connection to internet is OK?
2
11,460
thread by: Dan | last post Nov 17 '05 by: Jon Skeet [C# MVP]
* 32 * * .5 * X * *********** I have a triangle with a Hypotenuse of 32 and height of .5. I am trying to determine what angle X is. On a calculator I take .5/32 = .015625 The inverse sine on a calculator gives the angle of X at .895282987. How do I replicate this in C# code?
3
1,115
thread by: Richard | last post Nov 17 '05 by: Oliver Sturm
Hi, We have a bunch of strings in the following format: yyyy yyyyy We would like to keep all of the "xxxxx" data - anything that falls within the square brackets. We know that Regex can do this but, whooaa - how do you make it do this?
5
1,246
thread by: Annie | last post Nov 17 '05 by: Annie
Hi guys, I have an object eg GlobalObject with some Public Static properties that I set them throughout the session from each page. I need these values to be shared among all the pages. The funny part is that even I stop the application and close the IE etc when i rerun the program still some of the values not changed. Looks like that...
4
1,732
thread by: sonu | last post Nov 17 '05 by: Gino
Is there any method in System.Management.DLL for getting information about RAM and CPU?
3
1,156
thread by: ad | last post Nov 17 '05 by: ad
I found that DataTable can be transfered with web service, but DataSet can. What types can be transfer by seb service, struct? Array? hashtable?
14
1,752
thread by: Nick Z. | last post Nov 17 '05 by: Jon Skeet [C# MVP]
I have a file that I want to read a UTF-16 unicode string from. What is the easiest way to accomplish that? Thanks in advance, Nick Z.
2
1,050
thread by: sonu | last post Nov 17 '05 by: ¿ Mahesh Kumar
I have created session on .asp page like <% Response.write(Session("id")) Session("id")="amit" %> <form name="frm" method="post" action="dfd/shift.asp"> <input type="text" name="txt"> <input type="submit" name="home" value="home">
2
1,501
thread by: harvie wang | last post Nov 17 '05 by: harvie wang
I want to create a splite window in c# like MFC CSplitterWnd thanks!
1
1,083
thread by: Henry Stock | last post Nov 17 '05 by: Miha Markic [MVP C#]
If so, can someone show me some sample code? -- Henry
5
1,737
thread by: ad | last post Nov 17 '05 by: ad
I found a Regular expression in http://www.regexlib.com/DisplayPatterns.aspx?cattabindex=6&categoryId=7What do the ^0, $ mean in the begin and end of Regular expression?^0{1}{0,1}{0,1}{0,1}{1}{6}$
1
1,136
thread by: ad | last post Nov 17 '05 by: ad
I have a definition of struct, I want to use it in both WebService and Web application. How can I share it between application?
1
1,214
thread by: AlB | last post Nov 17 '05 by: Atul
Is there a way to gather all applications installed as tray resident and then walk through their handles and issue a gettooltiptext on each one to see what they would display as if a mouse pointer was waved over the tray app? if not, how can I simulate making the tray app pop up it's "tool tip" thank you,al
9
5,401
thread by: Phil | last post Nov 17 '05 by: Jon Skeet [C# MVP]
I have a custom class that has been assigned to a variable and worked with, I now need to cast this class as a different class, which is in a separate assembly, not currently in the project. Normally if it was part of the project I would say: MyNewClass newClassObject = (MyNewClass) currentClassObject; I have the name of the class,...
2
1,327
thread by: VMI | last post Nov 17 '05 by: Mark R. Dawson
If I have an XML document, how can I find out what the contents of a certain tag is? For example, if I have this: <?xml version="1.0" standalone="yes"?> <NewDataSet> <Table1> <zip_code>00902</zip_code> <addon_low>3121</addon_low>
9
2,271
thread by: trint | last post Nov 17 '05 by: trint
Ok, How can I NOT show the "titlebar" or the "border" at all on a webform (I have a transparent gif as the edges)? Thanks, Trint
3
3,824
thread by: Bruno Renato | last post Nov 17 '05 by: Willy Denoyette [MVP]
Hi, I was implementing in a program WinForm write in C# a method that change the DNS Sufix of networkcard of PC, well I search in the .NET documenttion and I found a class that allow this feature, the class "Win32_NetworkAdapterConfiguration" with the method "SetDNSSuffixSearchOrder" that receive when argument the string array...
8
9,178
thread by: tshad | last post Nov 17 '05 by: tshad
I am getting the following error (VS2003): The variable 'ktr' is assigned but its value is never used How do I tell the compiler to ignore this? You used to have to use a Pragma statement in C++ to do this. Thanks, Tom
11
14,963
thread by: tshad | last post Nov 17 '05 by: Chris Dunaway
What is the best way to handle money in C#? Do you use float type? Then how do you handle rounding problems with cents as well as how best to display it? Thanks, Tom
4
14,392
thread by: Vijay Pote | last post Nov 17 '05 by: needin4mation
Hi All, i have a datatable in which iam creating 2 datacolumns , one is SampleID and second is TestType. iam creating a datarow depending on a for loop, if the for loop goes 5 times it will insert 5 records. every thing works well, what i want is to delete the Duplicate Rows
0
935
thread by: Raj Chudasama | last post Nov 17 '05 by: Raj Chudasama
i have two forms one have buttons that i want to be able to drag and drop on the othe form on the 2nd form i have the following code (my dragenter gets called but the HandleDrag is never executed, instead the dang thing calls mouse move of the button i am dragging). WHY? help please
4
4,788
thread by: apm | last post Nov 17 '05 by: apm
Is there a way to change the calling convention of a delegate to Cdecl? Is it possible to define a callback function in C# that used the Cdecl convention? Thanks in advance.

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.