473,799 Members | 3,782 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C# / C Sharp Forum

6
5,944
thread by: Lars Nielsen | last post Nov 13 '05 by: Lars Nielsen
Hi everybody, I've run into a problem when using the reflection assembly on COM objects and been browsing around the net for some while. Apparently a few has asked the same question though no answer has ever occoured. This is what I'm trying to do: I wish to build a function that crawls any COM object (interop). I did shortly examine...
3
9,134
thread by: AxlsPixel | last post Nov 13 '05 by: Mattias Sjögren
Hi All, I have a class (called CTestClass) within which I have a method (Foo). This method has the following signature: Foo(int x, int y, ref int z) I am attempting to use reflection to invoke this method but before doing that I want to use Type.GetMethod to bind to it and validate it's signature. The problem is this binding fails due...
1
1,780
thread by: rino | last post Nov 13 '05 by: WL\(fromSJTU\)
Hi, can I have one column in my datagrid as ComboBox. the user must select only determinates values on this column... thank's
5
1,685
thread by: Waterman | last post Nov 13 '05 by: Waterman
Hi, Does C# has an equivalent for Java Swing's html support?
0
1,483
thread by: miller chen | last post Nov 13 '05 by: miller chen
Using WebServices, and server add the new class PersonSet that inherite DataSet,follow down: public class PersonSet:DataSet { private string _strB; public string strB { get
0
5,625
thread by: Thomas Roosen | last post Nov 13 '05 by: Thomas Roosen
Hi, We're trying to extract datas from Exchange. We're using C#. With some MAPI objects, we manage to get into the directory in which the datas we want are stored. But now, we would like to get back every single message stored in teh directory, so that we could browse them to extract datas embedded into them. Here is how we proceed:...
2
1,633
thread by: Wiktor Zychla | last post Nov 13 '05 by: Wiktor Zychla
is there an easy way of inserting a html page as win32 resource to NET class library and give it the name so that I could navigate to the page by 'res:/myLibrary.dll/myTemplate.html'? what tools should I use? I use print templates to customize the webBrowser printing capabilities and I do not like the idea of having the template inside the...
1
10,202
thread by: Robin.Liu | last post Nov 13 '05 by: Robin.Liu
How can I get or set values of system variables using .NET? Any comment be appreciated! Robin.Liu lbhappy@263.net
5
2,220
thread by: Kyle Silvers | last post Nov 13 '05 by: David
I'm a college student, starting my first "for-real" C# application. I've read a bajillion books on what to do and what not to do, practiced all the code snippets from here to kingdom come, and written dozens of smaller prototypical applications, and done some basic stuff for people on Rent-A-Coder. I think I'm ready for something I can sink my...
0
989
thread by: Steve S | last post Nov 13 '05 by: Steve S
Whats the best way to go about patching your .net programs? Im assuming creating another setup project is wrong b/c it'll put itself in the add/remove programs...Do you just create a program to xcopy the files over...and if so, when the user goes to add/remove programs to delete the program, wont those files still be in the directory? ...
0
2,311
thread by: Patrick Blackman | last post Nov 13 '05 by: Patrick Blackman
I have created a component in C# and have registered the component for use in com. I have put the following attributes on the component class : public class Thesaurus:Component
2
4,472
thread by: Simon Lok | last post Nov 13 '05 by: Simon Lok
Hi, Is there a distributed shared memory toolkit / API / SDK available for C#? I am looking for the C# equivalent of the JSDT (http://java.sun.com/products/java-media/jsdt/) where basically one has shared byte arrays across many JVMs. I guess I could "write it myself" by layering a token ring architecture over .NET remoting, but that...
9
18,046
thread by: Andrew Cumming | last post Nov 13 '05 by: Andrew Cumming
I am having trouble using Platform Invoke to call C++ DLLs from C# windows applications. The DLLs seem to load, but I get run-time errors to the effect that the named entry points cannot be found. The DLLs are compiled in MS Visual C++ Version 6 and the C# applications are written in MS VS C#.NET 2003. I am using the specifier...
1
5,708
thread by: Adam Durity | last post Nov 13 '05 by: Austin Ehlers
Anyone have a good example of how to use the MD5 encoding provider class that comes as part of the System.Security namespace? -ALD
1
3,379
thread by: Suresh | last post Nov 13 '05 by: Adam Durity
Hi All, Iam looking for the following 1)What needs to be done so that user can enter only numeric values in the TextBox? 2)How to set Mask for TextBox component. For example, if a TextBox is intended for Phone Number Data entry, how do we enable it so that user can type using a mask like (999) 999-9999? Thanks
1
1,977
thread by: Sergey Muschin | last post Nov 13 '05 by: Jeffrey Tan[MSFT]
Hi there, How to prevent a user from rebooting computer, invoking Task Manager, activating Task Bar , etc. API? Any available tools, classes? Any ideas ? Regards, Sergey Muschin
1
2,704
thread by: Dave Espley | last post Nov 13 '05 by: Ashish
Is there a way in C# to tell which domain a Computer is in (not the user logged on). The code must run without a user being logged onto the box. Basically I want the application to check the machine it is running on to find which domain it is registered to. Any help greatly appreciated Dave
0
1,568
thread by: Paiman Allage | last post Nov 13 '05 by: Paiman Allage
Hello all, I hope you can help me. I have developed an ".NET" application and started to deploy the application. However, I am haveing a problem, where when I compile the program on my laptop, when I place that ".exe" on a machine which is not my laptop and where the application did work with the ".exe" I compiled on my old pc, it causes a...
2
20,751
thread by: Fatih BOY | last post Nov 13 '05 by: Adam Durity
Hi, I want to send a report from a windows application to a web page like 'report.asp' Currently i can send it via post method with a context like local=En&Username=fatih&UserId=45&Firm=none But the problem occures when i want to send a data with & sign (i.e: Firm=F&B). I try to solve this problem with using boundary, but i failed. Any...
0
1,590
thread by: Grant | last post Nov 13 '05 by: Grant
I have an application written in c# using the Web Browser Control. I also created a setup package to distribute this application on various machines all running windows xp or 2000. When i distribute the app, i am asked to install the .net framework, once installed the app runs. When i try to navigate to a web site using the Navigate...
1
1,481
thread by: alien2_51 | last post Nov 13 '05 by: alien2_51
Does anyone know where I can find a sample app that demonstrates running the app from the system tray..? I want all of my UI elements available from the context menu in the tray.. tia
14
3,985
thread by: Ron James | last post Nov 13 '05 by: Lucean Morningside
C++ is a great language. You can instantiate an object on the stack, grab whatever resources you need, and free them in the destructor. Object destructors are called in the correct order (the reverse order), and are guaranteed to be called when the object goes out of scope. Unfortunately this is not so in C# (or Java) since you cannot...
0
1,098
thread by: Abe Frohnman | last post Nov 13 '05 by: Abe Frohnman
I've been reading that in order for people to use my application written in C#, the enduser will need to have a copy of the .NET framework on their computer. Is this true? If so, how can I distribute my program to anyone who wants to use it w/o requiring them to download a ton of stuff from Microsoft? Thanks!
3
10,883
thread by: Andy Walldorff | last post Nov 13 '05 by: Mattias Sjögren
Given the following code.... // FooBar.cs, builds Activate.dll using System; public interface IFoo { void Bar(); }
0
1,310
thread by: adlaird | last post Nov 13 '05 by: adlaird
Hi, I created a simple webform, put a test button on it and implemented a click handler that looks like so: private void btnTest_Click(object sender, System.EventArgs e) { HttpCookieCollection oCookReq = HttpContext.Current.Request.Cookies; HttpCookieCollection oCookResp =

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.