Memory Leak Issue while using MDI form in .Net 3.5 framework(VB to .Net...
I am working in VB to .Net Conversion project. I have converted my existing VB application to .Net using Visual Studio Wizard available in VS 2008 . My Application has a MDI(Multiple Document...
View ArticleHave a problem in showDialog Method c#
I use a shortcut keys for both parent and child window.. . i called the child window using ShowDialog().When i press the shortcut key. . parent window controls are triggered.. . but my active window is...
View ArticleBitmap with FileStream
FileStream fs = new FileStream(@"image.bmp", FileMode.Open, FileAccess.Read, FileShare.Delete); Bitmap Bmps = new Bitmap(fs);fs.Dispose();ColorMatrix CM = new ColorMatrix(); CM.Matrix33 = 0.5;...
View ArticleBackgroundWorker and Cross-thread operation not valid
I have the backgroundworker and cross-thread know issue.. I read a lot of material about the problem in some forums but I still stuck.I build IO project that contain win form shows the user details...
View ArticleMdiform with Multiple forms c#
I have Mdiform with multiples child forms. Form 1 has Textbox inputs which i will modify very rarely so i don't want to open this Form1. When i press "Result" in Form3 I need Form1 textbox values...
View ArticleChanging program input source from Webcam to Picturebox
hi professionals,i have been download an open source program about face detection and it is very good and useful for beginners. i am in writing a sample face detection program and find this open source...
View ArticleHow to make a resize corner for my Form (c#) ?
I want to make a browser and I chose the WindowsForm application for this. The idea is that I want to make my own border style so I set the 'FormBorderStyle' property to 'None', but the resize corner...
View ArticleHow to write "innerHtml" to WebBrowser control?
I have an XML document in a string object. I want to display that using a WebBrowser control. How do I "Navigate" to the string instead of some web site? In a sense, I want to write directly to some...
View ArticleCheck if Shortcut is most recent build
I have a shortcut on a end users desktop that links to the .exe in the release folder. My question is, is there a way to code so that every time the .exe is opened, if there is a newer version in the...
View Articleprevent form resizing
I have set the form border to FixedSingle and removed the max, and min buttons but the user is still able to re size the form by double clicking on the title bar.. how can I prevent that?Jassim Rahma
View ArticleValidate on Multiline textbox 100 characters per line on copy paste
Hi,Im having a multiline textbox in windows form.User can enter the words or they can copy and paste the words,paragraphs.Restriction is user can enter only 100 characters per line.I had wrote a code...
View ArticleHow To reverse a string in C#??
I want to reverse a string in c# using inbuilt function.I need 2 different kinds of output:I/p: "BAD IS GOOD"o/p-1: GOOD IS BAD [reverse the whole string]o/p-2:DAB SI DOOG[reverse a words in a string]
View ArticleDrag and Drop Button with Outline on Windows Form
I've seen numerous examples of how to dynamically position a control on a Windows form using Visual Basic 6's .Drag and .Move methods, such as the code below: Private XOffset As IntegerPrivate YOffset...
View Articlekeycodev2.dll
Hi,I have developed an application using vb.net & crystal report 9 for vs.net, it runs well in my development pc which is win 2000, after deployed into a win 98 pc, error "cannot find...
View ArticleC# drag and drop between forms
I've been trying to figure out how to drag and drop between two forms (i.e applications in C#). I created two forms. One form with a treeview and the other form with a textbox. What I wanted to...
View Articlegenric method to loop through entities replacement for Data Row???
I have an old function that we used for lookup tables I need some help with it converting it to entity framework. i no i need to use something like type entitytype to get access to the entities columns...
View ArticleOpenFileDialog: show text files based on matching filtered content
Hi, I need an OpenFileDialog control that filters textfiles based on content. These textfiles are ';' separated files, and the filelist to be shown (to select from) should match certain content...
View Articlehow to provide license key field for winforms setup and validate it befire...
I want to create a setup for my winforms application, my requirement is that i want to provide a field for the user to enter license key and that key will be validated with the help of webservice with...
View ArticleGetProcessesByName causing windows XP to restart
HiI have developed an application which is use as console to run couple of other applications, on the startup the application checks if another of its module (.exe) is running or not, using...
View ArticleHow to make the transparent parts of a png image to be transparent, not white?
I put a image in my form and beside the color part it also contains some transparent parts. The problem is that those transparent parts are white and I want them to be transparent!Please help!!!!
View Article