VS2008 non.NET Application
How can I create a VB application in VS2008 without requiring the application be run on a computer with a .NET framework in place? ...
How can I create a VB application in VS2008 without requiring the application be run on a computer with a .NET framework in place? ...
I have an application in VBA that gives to my VB.Net dll one bi-dimensional variant. It is a an array, in which every component is a another array containing two positions. I want to get this two-position array. When I am using VBA I can access directly the data from each position by doing: dataArray(index, 0) or dataArray(index, 1) ...
I work in a VB.Net environment and have recently been tasked with creating an MVC environment to use as a base to work from. I decided to convert the latest SharpArchitecture release (Q3 2009) into VB, which on the whole has gone fine after a bit of hair pulling. I came across a problem with Castle Windsor where my custom repository inte...
I have a treeview control that gets populated at runtime with a pyramid of employee names. I put the css scrollbar on the view by putting overflow:auto" in the tag where the treeview is located. The users are now asking me to to have the scrollbar go down in the treeview where a treeview item is selected. How do I make a scroll bar to ...
i have combobox column and on selection of the combobox data i want the text field column of the datagrid view to get the text based on the selection of the data in the combobox column the text in the textbox will come from the database based on data selected in combobox i have done the bit its not working it is giving "Object referenc...
when i get the money field from sql server to vb.net code, i always get 1.0000 instead of 1.00. how do i convert this to 1.00 in vb.net? TD = New HtmlTableCell If Not SqlDR("Price") Is DBNull.Value Then TD.InnerHtml = SqlDR("Price") Else TD.InnerHtml = "0.00" End If SQLDR is my sql data reader ...
this is my code - SqlCmd = New SqlCommand("sp_load_names", SqlCnn) SqlCmd.CommandType = CommandType.StoredProcedure SqlDR = SqlCmd.ExecuteReader() While SqlDR.Read ads_list.Items.Add(New ListItem(SqlDR(1) & "")) End While SqlDR.Close() this shall populate the dropdownlist data, but in the value i need it to pick up the "ID...
I created a simple test with SendKeys, and tried both SendWait and Send. Private Sub Form1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Click System.Threading.Thread.Sleep(10000) SendKeys.SendWait("If you can read this, it works." + "{ENTER}") End Sub I tested in skype, and a few of the letters double...
i have a dropdownlist that populates from the sql server database. populating the list is not a problem, but does anyone know how to populate the value part of the listitem. e.g = black blue orange red violet how do you populate the value=1,2,3,4,5 when you're populating from table in database? ...
Is it possible to auto-end a vb.net app? Let's say for 5 minutes it will kill its own process if it is not being used by the user or is passive. ...
how can i create and update mdb [ access ] files in visual basic 2008.. and also if i have a dll library how can i get all of its syntax for using it in visual basic ...
how can i add media player without controls and border in visual basic.... ...
I am using the office interop to open word documents and saving as html to do parsing work. After a few executions I notice that in the task manager under processes there are still instances of WINWORD.EXE running. I have used the following to close the object but it is still there wordApp.Quit() wordApp = Nothingenter code here How d...
I asked a question earlier about keyhooks in vb.net. My current issue is such: I have created a program which should perform a certain action whenever a certain group of keys is pressed at the same time. The program must be able to run in the background, or in the system tray or something. Essentially, this should work like the KeyDown...
I'm working on a CMS using VB.NET 3.5 and I'm stuck on a concept. I have different modules that do different things like wysiwyg, contact form, image gallery, etc... but one that is becoming a bit of a challenge is wrapping my head around "how" to build a sitemap. For the record, I am NOT talking about an SEO Sitemap (XML), but rathe...
what is the logic behind this on this website "last activity: 1 min ago from this ip address " If you are obtaining the user's IP address in a hidden field , how can I do this in vb.net ? And how can I check how many users are online using the application ? ...
While adding two language code files i.e. C# and VB.NET to App_Code, got an error The files ... file names ... use a different language, which is not allowed since they need to be compiled together. Is there a way to add two different language files? ...
Code. Public Function comb1(ByVal SName As String) As DataTable Dim dt As New DataTable cmd = New SqlCommand("Select Distinct RName from tb_RS_New", con) dr2 = cmd.ExecuteReader While (dr2.Read()) dt.Rows.Add(dr2("RName")) End While Return dt End Function While loading the ...
a funny problem ... i can't understand it.. let me show you what i have first : 'D:\ReportsOfficesSystem\ReportsOfficesBLL\BaseController.vb' ^ ^ ^ solution project a vb class file and 'D:\ReportsOfficesSystem\ReportsOfficesDAL\ReportsOfficesEntities.vb' ...
I have a local file path containing "\" and I need to change all occurrences to "/" for a remote file path. I have tried myString.replace("\","/") and myString.replace(Convert.ToChar(92), Convert.ToChar(47)) Both seem to leave the "\" in tact.. Answer: NewString = myString.replace("\","/") The problem was that I was not assi...