|
Thanks for your help.
That "COM server" is only an OLE Automation server. It does not fire any
event. Only thing it offers is a member function that takes an int as
the handle of the combobox, and populate the combobox by sending CB_***
messages.
I am curious: after calling the COM server member function I can see
the combobox is populated with data. Where are these data stored? Any
way to get them and put them them into the Items collection?
Thanks again.
Bogang Tian
|
|
|
|
|
Hello everyone!
OK, I have a program that has to find files inside of some specific directories and then add the filenames to a string array. There's like 18,000 files... My problem: The last line on the file comes cut out. I thought this was some file limit problem, so I broke it down into 2 files. Still the problem persisted. Then I went for 4. Still. Then I went to 6. STILL! Anyone know what's wrong here? The files are on a network drive, but I don't think that's it, since I've seen this problem a long time ago on regular drives. Anyone know how to fix it? Thanks!
Sulfurik K. Nosferathus (Darth_Sulfur)
www.SulfurMidis.com
www.SulfurSoft.tk
http://www.BeepXtreme.tk
[ftp://][http://][hotline://]tsfc.ath.cx
|
|
|
|
|
Are you calling Flush and/or Close on the stream when you are finished?
|
|
|
|
|
|
"It worked!" ?
This seems funny to me, because it implies that closing a file after writing to it is some kind of clever trick or technique as opposed to what you should always do.
BTW, this sounds like something you might want to do with a script (Python or Ruby, or (if you must) Perl, etc.).
Matt Gerrans
-- modified at 22:03 Friday 21st October, 2005
|
|
|
|
|
|
I have a .bmp file and I need to do it SplashScreen for my form.Anybody can tell me how to do it?
|
|
|
|
|
hi there,
I'm pretty sure that there are a lot of articles about this on CP site.
below is just one of them
Splash Screen
Hope this helps
<< >>
|
|
|
|
|
Take a look at these articles:
http://www.codeproject.com/csharp/PrettyGoodSplashScreen.asp
http://www.codersource.net/csharp_splash_screen.aspx
André
|
|
|
|
|
i make a correct cryptostream object and make the while loop that is in msn example but when i call .close() method it write correctly (i guess) the file crypted infact i can see it on my HD and it is crypted (it is a kb bigger the origina) but i get the following exception:
The lenght of the crypted file is not correct.
What does it mean? where could i wrong?
|
|
|
|
|
Hi,
Can Any one can tell How to read data from the flat files(txt files) to DataSet
Thanks and Regards,
Subbu
|
|
|
|
|
what do you mean, dataset is simple, which take string/int values , just break the file and write to dataset in the required column's, do you need a sample code.
|
|
|
|
|
use the text ole db provider.
|
|
|
|
|
Hi Everybody!
I have to make a program which works on XML files.
I need to know how to read/write in these files.
Anyone know an easy guide?
I dont need to know all about it, only how to write/read and the main notions.
Thank You
Enrico
|
|
|
|
|
go to Google.com
Search for "Xml c#"
Tons of info.
http://www.functionx.com/csharp/xml/Lesson01.htm Just one of many
*****************
"We need to apply 21st-century information technology to the health care field. We need to have our medical records put on the I.T." —GW
-- modified at 13:41 Friday 21st October, 2005
|
|
|
|
|
the best way to deal with XML's in C# is using Dataset's.
they are very easy to implement.
|
|
|
|
|
what do you mean for Dataset's?
|
|
|
|
|
Hi,
How do you capture Key Press Events on a WinForm? I would like to setup Function Keys to fire events and I'm not certain where to start. Any help would be greatly appreciated.
|
|
|
|
|
refer to user32.dll , import this DLL and you can capture all the key events
|
|
|
|
|
Can't you just set them up as accelerators for a menu or a toolbar?
Regards
Senthil
_____________________________
My Blog | My Articles | WinMacro
|
|
|
|
|
if i have a serialized struct object with these information:
bitmap
string
string
byte[]
can an hacker load the serialized file and see these information that is get the bitmap file, the strings...
Also:
if i've an .exe with embedded a bitmap, can he get the bitmap?
|
|
|
|
|
The answer is yes to both questions. If your software can use the object or bitmap, so can anyone else through debugging and reverse engineering.
The only effective way to prevent this would be to encrypt your sensitive content and have the decryption key entered by the user. Having the software automatically decrypt the content with a key contained inside the software or system itself is no different than the original situation because anyone can just follow along and wait for your software to decrypt the content on its own.
|
|
|
|
|
How much time do you think the hacker is able to get the key within the .exe and decrypt the file?
|
|
|
|
|
I have windows forms application, where user can select images to be loaded from FileDialog. It creates thumbnails of those and displayes them in listview...its taking longer then expected. Users generally select 30-35 200DPI .jpeg images. I am using Imagelist & Listview combination....I think problem is of windows painting(invalidate or refresh)...I do beginUpdate,endUpdate before and after adding items.
How can i boost performance of this task?
Any help will greatly be appriciated..
Regards,
MaulikCE
|
|
|
|
|
1. Make sure all your images already contain an embedded Thumbnail image
2. Only load those images in the visible area (in other words, don't load them all, only what the user can see on the screen)
3. Thread it so the loading process doesn't "tag" your window
|
|
|
|