Answer Questions
Luis E asp email funtion
Hello I am having trouble with my email funtion in asp. I can get it to email if i hard code the address into the coding. However I want to use a email address that a user submits into a form and when the submit button is clicked then it emails the user with some text verifying there order was submitted. Here is the code: Dim MyMail MyMail = CreateObject( "CDO.Message" ) MyMail.Subject = "Work Order Reciept" M ...Show All
systemanalyst Regarding Class
Hi, I'm facing a small problem and it would be great if someone could help me. Imagine I have a class which has a property called say "setvalue". Now the class should be designed in such a way that when I create an object of this class, lets say that the object is objClass, there should be a value set for the property "setvalue". For example like objClass.setvalue=1; .If no value is set I should get an error during compile t ...Show All
_Phil_ could not see results after sql server stored procedure row insertion
private SqlParameter CreateSqlParameter( string sLabel, object oValue, string sDirection, string sDbType) { SqlParameter sDummySqlParameter = new SqlParameter (sLabel, oValue); if (sDbType == "Int32" ) { sDummySqlParameter.DbType = DbType .Int32; } else if (sDbType == "DateTime" ) { sDummySqlParameter.DbType = DbType .DateTime; } else if (sDbType == &qu ...Show All
Miquella Make a Cab file
hi i am mehmet my questions about cab files i am create cab file but i cant make in c#.net process in cab file : two running exe later one text file copy from my computer to Mobile Device. And Later copy database backup file from my computer to Mobile Device. But what is the problem The creation of the CAB file, the copy process, the installation You want to create a CAB file programmaticly with C# yes... i a ...Show All
GeoB Resizing jpg to smaller resolution
I am not sure whether I should be in C# or C++ perhaps somebody could advise I write in Visual Basic & have an app the I want to allow the user to select some jpg files and have them reduced in resolution As Vb does not have this facility, I was hoping I could get somone to point me in the direction a code example I could utilise in net 2005, (don't yet know how) using C which I could then compile. my app would shell the c ...Show All
Palia Weel Link Form
I know some C# but I don't use it often enough to know this. I wanted to know the code that you put at the top of your form to link that form to another form, for instance in C++ you would type: #include "Form2.h"; But what would you type in C# Its just an object I use to display the form I have one question though, what is "udpdate" Hi this should do the trick hi Im not sure what you ...Show All
Jesse Motes C# .net to Excel 2003 Saving wkb as txt file
Hi, Can anybody teach me how to open a txt file with Excel file and then save it as txt file again , like "c:\example.txt". Thanks in advance. I am trying this (but getting error when saving): wkb = Wkbooks.Open(fileOpener.FileName,0, false , 5, "" , "" , true ,Excel. XlPlatform .xlMSDOS, "\t" , true , false , 0, true , Type .Missing, Type .Missing); // ExcelApp.Visible = true ; wkb.SaveAs( @"c:\example.txt" , ...Show All
Rabtok pulling forms out of applications.
Is there a way to pull out what forms are in a particular application that get's passed in Also does any one know how to find out the name of the exe file that call's the dll Anything would be very helpful. Thanks, Matt I'm not sure the context in which your HookEvents is called, so I'm not sure what Form you're talking about. If you just want the "active" form for the application ...Show All
Sai A Multiple references
project1.dll has several public methods (COM visible). project2.dll has a reference to project1.dll and can access project1 methods (COM visible). project3.exe has a reference to project2.dll (I can't add reference to project1) How to access project1 methods from project3 How about an Interface DLL that exposes the interface to the businessobjects.dll. Then all project3 has to reference is the interface D ...Show All
skillpoint DataGridViewImageCell
I am trying to get the information from a windows form button cell clicked on a new DataGridView control. The button cell is bound to a datagrid with the record ID keyfield bound to it. Clicking the button would produce the chosen key for further operations. The code example I have is from MSDN: http://msdn2.microsoft.com/en-us/library/system.windows.forms.datagridview.cellclick.aspx My code as I used in my application as follows contains ...Show All
Prathap Opening Forms inside another form
Hi, Is it possible to open a form inside another form Can it be opened in a panel My application should not open more then one form. Thanks, Rafael Sancho Hello Richard I'm new to dot net but have worked with VB6 a long time. The question I have is I'm trying to work with controls on a child form. I'm using a MDI parent form and a child form with a textbox on it. In the parent class I have ...Show All
HexDump Unloading an Assembly
Hello, I read in one of the Blogs that an Assembly cannot be unloaded. It has to be loaded into a AppDomain and then unloaded. I have tried that. Take a look at the following code. AppDomain newDomain = AppDomain.CreateDomain("NewDomain"); Assembly myAssembly = newDomain.Load(AssemblyName.GetAssemblyName(assemblyPath); After doing Reflection on myAssembly, I used ...Show All
Patri C# .NET Naming Conventions
Does anyone know where I can find a list of naming conventions for UI elements. I found a bunch of places where they have variable, property, method, event handler, formatting style, etc. conventions. But I am having a hard time finding naming conventions other than the Visual Basic 6.0 Naming Conventions on Microsoft's website. I want to have their types as part of the variable name, or I'll easil ...Show All
McBain Adding Button on Window Title bar
Hi, How do I add an extra button just next to the minimize button on the Window Title bar. There are infact couple of application where you have help ' ' button just next to the minimize/close button in the title bar. Example : System property dialog box in WinXP. Adding buttons to the title bar is highly unusual. It can be done, I believe, but you may very well need to use the WinAPI through PInvoke to do ...Show All
Ian Barber Windows Explorer Control
Hi Everyone, I'm currently working on an application developing in C# using visual studio 2003. The UI for the application is custom drawn and, as a result, to keep consistency, a lot of the compenets are custom drawn as well. The problem that I'm having is that I want to implement a Windows Explorer type component complete with thumbnail view. All my attempts so far are too slow as, for each image file, to get the thumbnail I have to ...Show All
