problem about winapp-Collection of common programming errors

SysDragon
vb.net winforms winapp
I am working in VB.NET and I am wondering about the difference between Nothing and System.DBNull.When I fire save query at that time I am giving value from grid at runtime like as follow:gvMain.Rows(j).Cells(“Brand”).Value.ToString()But it shows me error when it has value of Nothing and it works perfectlly when it has value of System.DBnull.What to do in this case? Thanks in advance
Faulty Orc
.net vb.net winapp
I am having a windows form that whenever I want its controls like picturebox update normally I need to hide it and show it to let the cahnges happen. This causes a blink which I want to avoid.Does anybody know what are my options? It is a picture box from form1 being copied to form2 and let the user see the changes.Thanks
sebagomez
.net process io winapp
Here’s the deal. My WinApp is running, right? in let’s say process ‘A’.It creates a file and keeps the handle (keeps the file open for writing, this is a must). Then it starts other msbuild process, let’s call it ‘B’. This process is started with the System.Diagnostic.Process class. At some point, my WinApp (A) needs to delete the previously created file (remember it was created by A itself), and that’s when I get an IOException with the message “The process cannot access the file ‘X’ because i
marc_s
c# .net visual-studio-2010 winapp
private void button1_Click(object sender, EventArgs e) {string url = urlTextBox.Text;HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url);HttpWebResponse response = (HttpWebResponse)request.GetResponse();StreamReader sr = new StreamReader(response.GetResponseStream());richTextBox1.Text = sr.ReadToEnd();webBrowser1.DocumentText = richTextBox1.Text;HtmlElement htmlElement = webBrowser1.Document.GetElementById(“name”);string data = htmlElement.InnerText;label1.Text = data;sr.Close(); }I
Web site is in building