|
Why would you ever want to do this? If your showing a modal form, the rest of your app stops. This wouldn't fit the definition of an MDI Child form. Just create a normal form and show it using .ShowDialog() . Don't set it as an MDI Child.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Thanks. For clear alll my confuse
|
|
|
|
|
Hi guys,
I am using C# to automate some Excel tasks and in it I am defining a name for an Excel sheet using (sheet).Names.Add("TableName", "=Sheet1!$A:$D", Type.Missing... (etc))
and when I open the Excel application that I created it defines the name a litte different than if I was to define it manually.
When I define it manually it would be:
Names in Workbook: TableName
Refers to: =Sheet1!$A:$D
Using C# automation it is:
Names in Workbook: TableName Sheet1
Refers to: =Sheet1!$A:$D
There is an extra right-justified "Sheet1" Appended to the Name!!!
Because of that I have no way of referring to that table since it won't recognize it because of that "Sheet1"!
I need to access that table using this code:
cmdExcel = new OleDbCommand("Select * FROM TableName", cnExcel);
But it won't recognize it due to that extra "Sheet1"!
SOMEONE HELP!
I'll be indebted to you for life!
schoudhr@hotmail.com
|
|
|
|
|
If i want to distribuite my .NET to XP users what i have to add to the installing solution?
Can i distribuite to W98, WNT, ME, 2000?
|
|
|
|
|
Dunno why you got a one, everyone has to learn. You need to distribute the .NET framework with your app, to all those platforms. some things may not work in W98, but you'd have to read the docs to know for sure.
Actually, I'm not sure if any NT versions prior to 2000 are supported, if they are, they will require the latest service packs.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
|
read up on BootStrapping, thats how you include pre-requisities such as .NET framework. The actual distribution can be either MSI or Click Once. Plenty of articles on on these two deployment techniques on MSDN. A good site on Click Once would be www.dasblonde.net
hope this helps
V
|
|
|
|
|
Is there a way to embed resources to an external assembly programmaticly?
I have to develop a self extracting exe but I have no idea how to attach the data to an assembly.
|
|
|
|
|
Self extracting .EXE's are written to look for a specific tag after the .EXE code for the data which it's going to unpack. In a self extracting .ZIP, it's done by creating a normal .ZIP file, then just copying a self extractor .exe to a target filename and appending the original .ZIP file.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hello....
How raw socket deals with pakets comming from internet?or what it do exactly?
Thank you
|
|
|
|
|
What?????????? What are you trying to do? WHy are you worried about viruses on sockets?
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
I want to write an antivirus program that checks viruses coming from the network
|
|
|
|
|
Quite an undertaking...
There's a reason why you don't see something like this commercially available. It just doesn't happen!
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
i managed to export report pragmatically, by Setting the Export type to
// PDF, Excel, Word Doc, RTF Doc,
// HTML 3.2, HTML 4.0 or CrystalReport
but i want to export report to txt file !
thx.
|
|
|
|
|
Hi
I want to create a new MS access database through my C# program and put it in the same directory of the exe file.
How can I do that? can I have the code for that,please .
Thanks
|
|
|
|
|
Please I need the answer soon...
thanks
|
|
|
|
|
|
Hi,
Is it possible to to embed a word document in a C# form view? Like the internet explorer, when we visit a URL of a word document, the document will be opened in the browser instead of launching a stand alone MS Word.
If yes, how to do so?
Thanks
|
|
|
|
|
This article might be of use since one of the example screenshots shows a worddoc embedded in a browser control, but because of it's length I haven't read it.
http://www.codeproject.com/books/0764549146_8.asp?
|
|
|
|
|
Also look at this, unlike the monster I linked earlier it's very strait forward copy/paste exercise. IT gives everything except the menus which apparently aren't supported by the control. If you find a way to get them working, please post something here, or otherwise let me know since I'm looking into embedding office components as well. (primarily excel since a richedit control would do for what i need with text, but adding all the needed functions from excell into a datagrid would really suck)
http://support.microsoft.com/default.aspx?scid=kb;en-us;304662
EDIT: I'd think/hope there's a way to do it, since if you drag/drop office files into IE itself the proper menus are loaded but there doesn't appear to be one.
|
|
|
|
|
When i use oledb and open a database(*.mdb) in exclusive mode at a program. Can i open that database in another program to edit or update that database?
Nothing
|
|
|
|
|
|
Hello everyone
I am creating a plugin for my tech support app that will allow file transfer between two clients. I want to use DIME for this but the only example I have found was a client downloading and uploading files from the server using a webservice.
I was wondering if it was possible to have each client install the webservice on their end and utilize the file transfer capabilities that DIME offers. Instead of a client simply downloading and uploading from a webservice on a server, they would be using the webservice on a client.
Any help would be appreciated.
Have a great day,
Steve Welborn
Software Architect
|
|
|
|
|
I have a process that is executing so fast that the ui can't keep up. there is a function that is called as fast as the next file is copied from an old location to a new location. I am keeping a record of this in a textbox. however, this is happening so fast that the form surface is greyed out kinda and not showing the control's contents untill the process of copying files has completed. Worker threads shouldn't be used to manipulate ui controls, and I've tried using a timer, and I've tried delaying threading. I've had no luck. Even invalidating the control every time a new item should be painted doesn't work. I am very open to any help or suggestions. Thank you,
Stephen
|
|
|
|
|
problem solved. if anybody else ever has this problem, this is what I used:
System.Threading.Thread.Sleep(TimeSpan.FromMilliseconds(15));
form2.Invalidate();
form2.Refresh();
System.Threading.Thread.Sleep(TimeSpan.FromMilliseconds(20));
|
|
|
|