|
|
is there any open source project which will help me to generate form with control automatically. suppose i have table in my database and i will
just point that table through a application and after that application will create store procedure, data access layer and also form with (frontend) everything. so later if require i will just change the auto generated code. if this type of application exist then please give me url.
Thanks in advance
tbhattacharjee
|
|
|
|
|
You can use an Open Source code-generator like MyGeneration[^]. There's an example of a UI-template at the bottom of this[^] page.
Good luck
I are Troll
|
|
|
|
|
I want to write a program like osk(on-screen keybroad) of windows, but i don't know how to generate a key press like click on button1->you click on the A button on the keybroad!
|
|
|
|
|
This[^] article might help you.
DoanDucTai wrote: i don't know how to generate a key press
It depends on your requirements.
You could use SendKeys[^] class.
Another option is using direct PostMessage[^] calls with WM_KEYDOWN and WM_KEYUP messages.
I hope this helps.
[EDIT]
Giorgi Dalakishvili have suggested a very useful input simulator in the post bellow.
I'd use the suggested library instead of SendKeys class or raw Windows API calls (like SendInput or PostMessage ).
[/EDIT]
modified on Wednesday, February 3, 2010 6:58 AM
|
|
|
|
|
|
hi,
i have written a multithreaded application using bgworker in which i m doing some task in dowork method..it is running fine in debug mode but not producing desired output when i run the application.wat can be the problem?
|
|
|
|
|
So what exactly fails in release mode?
If you post the part of the code that fails, it's much easier to help
|
|
|
|
|
could be race conditions, caused by a lack of synchronization (insufficient locks).
I can't tell without much more information about your app, and what exactly is going wrong (and how often, how consistently).
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]
I only read code that is properly formatted, adding PRE tags is the easiest way to obtain that. [The QA section does it automatically now, I hope we soon get it on regular forums as well]
|
|
|
|
|
Dear All,
I am using Asp.Net with C# in windows application (VS 2005). I create one test.bat file, which is executed by my application. I am using "System.Diagnostics.Process.Start" to execute test.bat. How can I get the result, that the bat file has been executed and closed.
Because, test.bat file is taking few seconds to run and it creates a table with data and gets closed. My application is gets the data from the table, which is done by test.bat and proceed further. I can have good result, if I debug the application. I can not have a good result at run mode.
I want to proceed my application, after executed the test.bat file. How can I identify that test.bat file has been executed fully?. What I need to do?. I have to handle threading? Is there any other way? Thanks in adv.
Balasubramanian K.
|
|
|
|
|
I solved this problem. I used waitForExit.
Balasubramanian K.
|
|
|
|
|
if i have placed this post in wrong board then please feel free to move it.
so..can anyone tell me why gdiplus is more then twice as slow in encoding jpeg images on windows xp compared to windows 7?
i need a fast jpeg encoding and gdiplus is fine as long as i use windows 7 but on windows xp its to slow for what i need, so currently im using Blackfin Fast JPEG Encoding on windows xp but its still around 40% slower then gdi+ on windows 7.
Encoding 100 images of size 1980 x 1080 on my machine:
GDI+ windows 7: 3000 to 3500 millseconds (extremly fast!)
GDI+ windows XP: ~8000 millisecs (too slow)
Blackfin Fast JPEG: around 5000 ms on any OS
any suggestions how to improve the speed of gdi+ on XP?
|
|
|
|
|
i have been searching for a treeView which is similar to MSN messenger tree view
which contains an icon and brief description and some other data ..
for windows form app
does any one have an open source one ?
thnx alot ..
|
|
|
|
|
System.Windows.Forms.TreeView seems good enough for your need
Its TreeNode(s) have text, image and tag
A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station....
_________________________________________________________
My programs never have bugs, they just develop random features.
|
|
|
|
|
|
Here's[^] a good looking tree view.
/ravi
|
|
|
|
|
Hi all, as runing this algorithm, that decrypt an encrypted array of bytes, allways returns null as a decrypted result...
the code is below:
public static void Decrypt(byte[] toEncryptArray, bool useHashing)
{
System.Configuration.AppSettingsReader settingsReader = new AppSettingsReader();
string key = (string)settingsReader.GetValue("SecurityKey", typeof(String));
if (useHashing)
{
MD5CryptoServiceProvider hashmd5 = new MD5CryptoServiceProvider();
D_keyArray = hashmd5.ComputeHash(UTF8Encoding.UTF8.GetBytes(key));
hashmd5.Clear();
}
else
D_keyArray = UTF8Encoding.UTF8.GetBytes(key);
TripleDESCryptoServiceProvider tdes = new TripleDESCryptoServiceProvider();
tdes.Key = D_keyArray;
tdes.Mode = CipherMode.ECB;
tdes.Padding = PaddingMode.PKCS7;
ICryptoTransform cTransform = tdes.CreateDecryptor();
byte[] D_resultArray = cTransform.TransformFinalBlock(toEncryptArray, 0, toEncryptArray.Length);
tdes.Clear();
}
Can any one help me ,,,,,,,,, i'll be very thanks..,
regards
|
|
|
|
|
Message Closed
modified 23-Nov-14 6:49am.
|
|
|
|
|
very thanks stancrm, but sorry, i really new at C# and don't
understand that........
can you make it more esey ...;
thanks..,
|
|
|
|
|
Here let me help Stan out....
Follow the link to the MSDN article
Read the article to understand what you are doing
Locate the c# sample in the article
Highlight the sample code
Copy it to the clipboard
Open you test application
Locate where you want to work with the sample
Paste the sample into your app
Wire up the events required to test the sample
Create the objects required by the sample (you should understand these needs from reading the article)
Put in a break point in your code
Run the app.
Step through the code and inspect the objects to understand in detail what you are doing.
Wheres the spoon icon!!!!!
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
That's some good spoon feeding you've got going on there.
|
|
|
|
|
3bood.ghzawi wrote: can you make it more easy
You have been provided with basic cut & paste code to show you how to do it. How much easier do you want it? If you can't understand this example then you shouldn't even be attempting encryption.
I know the language. I've read a book. - _Madmatt
modified on Tuesday, February 2, 2010 6:54 PM
|
|
|
|
|
hi take a look at my codes:
|
|
|
|
|
The client has to know where the server is. Period. There's no way that a server could notify the client of its address without the server being previously aware of the client - for the server to be previously aware of the client then the client would have had to have to connected to the server already!
In other words, what you have with localEndPoint2 is unnecessary. In order for the server to notify the client where it is they would already have to be connected and that would mean your problem is already solved.
Usually on the client side the server's IP Address and Port are stored in the application's configuration. Then the server starts up and starts listening on its port, and when the client starts up it reads its configuration and it knows where to connect to.
|
|
|
|
|
Hi,
I have Microsoft Access report in my .mdb file. In this database, i have one report which has attached to one table. From C#.net application,I want to open MsAccess database and get the reports per page and save as .DOC(as word document). Currently issue is that i connected to access database, opened report as well but when i am trying to save it,it's saving without any format like line or table (but on report i have layout like table/lines etc), NOT only that currently it's saving in only one .DOC file. I want to save per page from reports to my C:\test\ drive using C#.
Can someone help me pls.??
Thanks in advance.
|
|
|
|