Detect debug mode
Hello, I would like to know whether is it possible to detect, in runtime, via some property, if application is running in debug mode, hosted inside IDE, or as a stand-alone independent executable....
View ArticleVS 2012 Help Fix Bug Usercontrol as child in FlowlayoutPanel
Hi.. Can anybody help mi fixing a bug using a Usercontrol as child in flowlayoutpanel? Usercontrol = Group The problem is only the dragging drop part where for example i have made Group1, Group2,...
View ArticleVS 2008 Picturebox IN ContextMenu
Hi Is it possible to add a pictureBox to a contextMenu. EG. To view a staff picture I can right click on their name in a form I've already created. This is instead of opening a sub form, which TBH...
View ArticleVS 2010 Save file in visual basic 2010
Hi, How can i save something like this? Name(1,0) = "jona" Name(1,1) = "helena" My xmlserialization wont work for this because its a multiple array. Thanks in advance
View ArticleDatatable:xml query for xml column
If i load xml datatype column to a datatable then can i perform xml query on it? SQL server supports queries like .exist, .value on xml columns. I am trying those kind of queries on datatable. Below is...
View ArticleVS 2012 [RESOLVED] If textbox is tab stopped
Hi Guys! How to say; TextBox1.SelectionStart = 0 If got focus with Tab button. What I want is, there is a ready-text in that textbox but I don't want the all text to be selected when it is focused with...
View ArticleVS 2010 [RESOLVED] HTTP Web Request multi-threading time out
Hello, I have a multithreaded application that communicates with a web service by HTTP GETs. when the program began to experience moderate load, it began to throw "The Operation Has Timed Out" errors...
View ArticleVS 2010 Running an Audio file on a remote terminal
Hello hope someone out there can help. First abit about the situation. I'm working for a company that has a nation wide V.P.N. This V.P.N is prone to massive amounts of lag due to the way its been...
View ArticleVS 2010 [RESOLVED] NullReferenceException and I don't know why.
I am getting a nullreferenceexception when I try running this code below. vbNET Code: Private _listOfItems As List(Of Item) ''' <summary> ''' This will check for ItemAttachments and then...
View ArticleVS 2010 Silo Cylinder in VS 2010
Make a silo cylinder and fill with color red between 0 to 100 % level and manipulate the level with a selectable % value beside the silo by a simple drop down arrow. Can i ask about this one? 1.) What...
View ArticleVS 2010 How to check for existing items in a list of a public structure
How can I check a potential new record against existing records in a list? I have this code. vbNET Code: Public Structure EmailDetails Private _ItemID As ItemId Private _from As String...
View ArticleVS 2010 COM Interop Issue
Ok, I thought I followed all the steps correctly, but apparently I am still missing something. I have a very simple .NET assembly that references the System.Speech.DLL. I have marked the project as COM...
View ArticleHow to Convert RichText to RTF, I dont know exactly What the method is called?
Hello! Today by help of a good friend I managed to send text to another Chat Window using the method below: Code: Result = SendMessageByString(ControlHandle, WM_SETTEXT, str.Length, str) I simply sent...
View ArticleVS 2010 Not All proxies working
I am coding a program with proxy support i want to ask suppose there are 10 working proxies all of them checked with proxy checker . Now when i use them in a program only few of them works so my...
View ArticleExecution of For loop skips to end of SyncLock
Hi Folks Im trying to make a timed scheduler in a threaded vb windows form application. With one job on the schedule everything works fine. But with two jobs on the schedule the main For loop inside...
View ArticleVS 2012 clear cookies and history
I tried to use Shell("RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 255", AppWinStyle.Hide) to clear cookies and history that will not show the progress of clearing but still it shows. What other...
View ArticleVS 2012 [RESOLVED] Not the last two characters but the penultimate.
Hi Guys! How to trim a string to make like: "Breakfast" to "Breakfat"? Thanks a lot!
View ArticleVS 2005 DateDiff function issue
I am using DateDiff function in vb.net sometimes it works best but sometimes return me a different value than expected. Here is my code. intRet = DateDiff(DateInterval.Minute, dte, dtpFromTime.Value)...
View ArticleVS 2012 [Resolved] DataGridView Selection Mode Question
Hello again everyone. This time, I have a problem with data selection on datagridview. I want to be able to select data from 2 distinguished ways, by selecting the full row or cell by cell, as you can...
View Article