|
Hi NaNg15241,
Thank you for your response. I do have 2 different click events on the main form. Basically, what I need is when the Add form opens, I want to check which button was clicked to get to the form, i.e. Add button or modify button. If add then initialize and if modify then parse the file and then initialize,
sasa
|
|
|
|
|
If you can't read, I gave a specific answer to that.
Your error: you are trying to check which button was clicked on a new form that was just created -> no buttons were clicked!!!
I have another way, make a new public enum with the name Clicker and have to values in it -> Add, Modify.
On the next form, make the constructor get that enum (eg. public Form2(Clicker WhoClicked)).
And in the main form in the Add click event do: new Form2(Clicker.Add).
Also in the modify click event (Clicker.Modify).
And then in the Form2 constructor you can define what to do based on the Clicker that was sent.
I gave you in this whole thread two ways to do it.
If you can't read or know what I wrote then you probably learn some more C#.
NaNg.
|
|
|
|
|
NaNg;
You don't have to be rude, it is a message board where people ask for help and that doesn't mean that you come out degrading people. Thank you for your help.
sasa
|
|
|
|
|
Hi, i have a control library that compiles to a (.NET) .dll. When i add the reference of the dll to my exe proj i am unable to view the clasess in the object browser. Here is an Image[^] of the problem.
Thanks for your help!
Don't be overcome by evil, but overcome evil with good
|
|
|
|
|
|
The methods i have in my dll are public by using:
public void writeToFile()
how can i check to see if i have classes public?
Don't be overcome by evil, but overcome evil with good
|
|
|
|
|
nevermind i got it thank you!
Don't be overcome by evil, but overcome evil with good
|
|
|
|
|
excuse me this is not i want
i want to search int the combobox like MicroSost forms20 combobox int com componants
please clear the answer becuase i am a bigner
thanks for helping me
MD_NADA
|
|
|
|
|
|
Hello
I am using the System.Diagnostics.Process.Start funktion to open a file.
My problem is that windows cannot open the file if its a fileformat it does not have a
program attached to, ex "test.WhoCares" gives an error, so my question is, is there a way
to get the dialogbox as windows use to open a file which is not set to a program yet.
hope you can understand my problem
Any articles or directy answers would be great.
Thanks
QzRz
|
|
|
|
|
are you saying you want to be able to run "test.WhoCares" like any other exe file?
Don't be overcome by evil, but overcome evil with good
|
|
|
|
|
If I try to open a file in windows which is not a know filetype (like the test.WhoCars, windows do not know this filetype) but in windows a dialog comes and you can select a program you want to open the file with.
if that helps?
|
|
|
|
|
I am building an application in C# but want to make use of a module coded in pure C. Im new to C# programming and not sure what my options as to how to make use of the C code in my C# project? Is there a simple bridging techique I can do?
the C module I want to make use of is here http://www.ibr.cs.tu-bs.de/projects/libsmi/ - its a MIB to XML compiler
Any help would be much appreciated.
Cheers
MM
|
|
|
|
|
Just compile the C code into a DLL which exports the necessary functions. You can then access it via P/Invoke and the DllImport attribute
regards
modified 12-Sep-18 21:01pm.
|
|
|
|
|
Hi
I have a simple web page that written in C# and Asp.Net.
In that page i have asimple insert query that work by
Microsoft Accees .
When I run it in my camputer az a project I don't reciev this message but when i placed on my host or on my iis I reciev this massage.
If You Know How Can I solv this problem plz
answer me az soon az possible
Thanks alot.
|
|
|
|
|
Please don't cross post.
You need write access to the database file to update the database. Check out the instructions from your host on where to place the database file in order for it to get the settings needed.
---
b { font-weight: normal; }
-- modified at 8:46 Sunday 11th June, 2006
|
|
|
|
|
I checked my permission and allow to my folder write access but I've recieved this message yet.
-- modified at 4:49 Monday 12th June, 2006
|
|
|
|
|
Hi thanks for your help
How can I solv this problem when I want to publish my web page on my host?
|
|
|
|
|
As I said, check the information from the host. Every host that supports Access databases will have instructions on where you need to place the database file. Usually there is a special folder for the databases.
---
b { font-weight: normal; }
|
|
|
|
|
You answered me patiantly:->Thanks alot
I checked my permission on that especial folder and I sure that I have write access on this folder.
If it is possoble plz help me.
Thank U very much.
|
|
|
|
|
You have to set the file permissions for the user account that is used to run the ASP.NET code. Unless you specified a different account in IIS, it's either the ASPNET account or the IIS_WPG account, depending on the version of IIS.
---
b { font-weight: normal; }
|
|
|
|
|
Hi
I'll check it.
Thanks alot.
|
|
|
|
|
http://support.microsoft.com/kb/q175168
Tamimi - Code
|
|
|
|
|
I've read it befor I ask U;P
Thanks.
|
|
|
|
|
hi
i embedd my exe in vs.net project as resource . now in run time i want to run my exe and don't save it in hard . how to do ?
my idea is load exe (in resource) to stream and run it . byt how to run it ?
my exe is win32 application ..
thanks..
|
|
|
|