Answer Questions
Paul Farrell Visual C# Application Deployment
Hello, Is it possible to create an application with "Visual C# 2005 Express Edition" that can be deployed on another PC running the Windows operating system without the .NET Framework installed on that PC. Thank you, Robert Thanks; Do you mean that any application created with the Visual Studio Express Eddition (e.g., C#, or C++), can only be deployed on anther PC running Windows that has the .Net Fra ...Show All
Justin0509 Using Tabs in Web Pages
I have a Web Application that I need to 'tie' all the pages together after the users login. I have been instructed to use 'Tabs'. The only Control I can find is to be used on Windows Forms not Web Forms. I need the Tabs to be dislayed at all times till the user logs out. How can I accomplish this task You are more then welcome! Please feel free to drop the url to the post on the asp.net forum here so it will a ...Show All
LJ_1102 Deleting IE Cache
I was trying to delete the Temporary Internet Files with this code: #region IECache private void IECache() { string pasta = Environment.GetFolderPath(Environment.SpecialFolder.InternetCache); DirectoryInfo di = new DirectoryInfo(pasta); FileInfo[] fi = di.GetFiles(); foreach (FileInfo fiTemp in fi) fiTemp.Delete(); } #endregion IECache but it doesen't delete anything from the temporary folder. ...Show All
Kalisurfer Generic math functions
I want to create some functions that operate only on the numeric types but I don't particularly care what those types are. I'd rather rely on the invoker or .NET's automatic casting rules to create the answer in the appropriate type. I could declare two versions of every funciton one taking and returning doubles and the other decimals but that seems excessive and slow. Is there a way to make a function generic yet restrict its parameters to nume ...Show All
Debra18139 Create Dataset Object from Schema (xsd)
In VS 2003 we could save the dataset schema and it would create our typed Datset object automatically. I cant see where to do this in VS 2005. Can someone please explain how to handle this now. Thanks -j thank you jung, But when I save it. There is no .cs file. Remember in 2003 there would be one attached (associated) with the xsd file Am I missing something ...Show All
-chin- How to create a new mail message window?
Hello, I am using VS 2003. What I am trying to do I hope is just a simple task, but I cannot seem to find anything on the Internet about it. I have a simple form that has a label and a text box. The label says "Email: " and its a link label actually, so what I want to do is, when the user clicks on it, it opens up a "New Mail Message" window. I want it to work whether they use Outlook, Outlook Express, Thunderbird..etc ...Show All
Ken.Saraf session and cookie in asp.net
I want example simple about session and example simple about cookie and project simple explain more basic that use in asp.net ; thank you hi, abu haitham ok first this is not the forum for asp.net , its this one http://forums.asp.net second if you need examples you can go to this site http://www.codeproject.com/aspnet/ just hit Ctrl+f and type any word you want to search for and you will get lots of examples hope ...Show All
Ollie VB form size
hi, the form i am making contains i think 60 textboxes which are hidden to check if the values being pass is correct. it almost occupy the design page and when i add the listboxes and buttons i can't put it at the lower level. i think the page is already occupied by the textboxes. is there a way i could adjust this one. i don't want to delete the textboxes coz they're important. i have seen web pages which contain so many data ...Show All
GreatDane Referrer not working...
Hi, I'm using custom errors in my web.config file to redirect to a page called, 404.aspx. It' working perfectly, it returns the page that was n't found but, not the referrer where the user clicked to get to the wrong page... I'm using Request.referrer to get it and it doesn't work, is there a way to get that information Thanks hi, for web forms its better to ask in ASP.net forums http://forums.asp.net hope this helps ...Show All
Barry Dyson Missing project file in a solution
Currently, we are adding a c# project to a solution that was formely code in visual basic. However it seems that every time we tried to load the solution file, all of our c# project is missing and we have to manually add the c sharp project one by one. Does anyone have an idea how to overcome this problem It's not a fatal problem but it's quite annoying after some time. yup An ...Show All
james_m :(((((( I dont understand delegates ))))))):
Please i already read and article about delegate i understand how to use them (a little bit) but i dont understand their scope, all articles talks just a liitle about what they are really ment to for using them... Please can anyone help me And if posible a small example... but more about their scope, and when to use them or when do u need a delegate.. PLEASE DO BE SHORT AT WORDS coz` i am very very noob in delegates and not much in c# Thank you ...Show All
Dave Zarlengo convert help
I have a dll with a method that reads from a pdf file. It needs a byte array parameter. I read from another pdf and i get a string (or a char array). Now i want to convert from string to byte array. I tried Encoding.UTF7/8/ASCII/Unicode.getBytes(string) but they don't work properly (\n\r not converted) I also tried to convert char by char in byte but i have also a perthousand ( %o ) that creates problem Help! Thx i start ...Show All
singersoll Class Designer in Express?
I'm a developer by profession, but it looks to me like Visual C# Express has enough functionality for the little things I want to work on at home ;-) However, I was reading the 'Product Activity Enhancements' page at http://msdn.microsoft.com/vcsharp/2005/overview/productivity/ and I can't find the Class Designer functionality as depicted (where there's a grid of the class details and a toolbox with 'Class', 'Inherit' etc. Can anyone confi ...Show All
gfcgamer Reset LAN user's Password
Hi, How can I reset a password in the active directory using C# Many Thanks, Jassim Rahma Did you try your options in the "System.DirectoryServices" for managing directory entries If not, I will suggest to investigate those. The MSDN library does have quite a great deal of samples for you on how to use the classes in this namespace. ...Show All
Craig N How to: Write an ActiveX object in C#?
I know ActiveX is kind of stoneage but I have to write one... So. How do you go about writing an ActiveX object (not neccessarily a control) in C# This example http://www.c-sharpcorner.com//Code/2003/March/ActiveXInNet.asp is not a real ActiveX object it doesn't register itself in the registry. This example http://www.devhood.com/messages/message_view-2.aspx thread_id=16569 doesn't work. > But is that a rea ...Show All
