Get A Treelistview Written That Works On Vs 2008?
Mar 11, 2010where can i get a treelistview written in vb.net that works on vs 2008 or vb express edition 2008?
View 2 Replieswhere can i get a treelistview written in vb.net that works on vs 2008 or vb express edition 2008?
View 2 RepliesI am a sys admin for a company and our programmer left several months ago. a program they wrote is now failing and i am struggling to work out why. the program basically pulls data from a csv file into a readable form, written in visual basic. the application works on a couple of machines but not on a couple of others. i have matched up .Net framework versions, MS Primary Interop Assembly versions, still no joy. As the app works on some pc's i am wondering what other differences could cause this?
The error output is:
see the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.
Exception Text
CODE:
JIT Debugging
To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled.
For example:
CODE:
When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box.
I'm looking for a control like the image bellow, treeview combined with a listview, and with editable cells.does someone have a sample code or some information on how can i do this?
View 7 RepliesHow would i put * in a password box when text is written in it but only when text is written in it and i want the *'s to be as many as how many characters are entered so if the pass was test it would be 4 *'s
View 6 RepliesI am using OLEDB and using datareader and with the read function i am reading table to the form. But now i want the textbox values to be written to the table? I tried with the fill, but not getting.
View 1 RepliesI am sending a POST request to an API server and I have reused code where I have successfully done this before on other servers and for some reason, which I cannot figure out why, it's not working. I get the error:
Cannot close stream until all bytes are written."}
even though I declared the content length correctly and I am not sure what I am missing here...
data = data + "</posts>"
Dim postBytes As [Byte]() = Encoding.UTF8.GetBytes(data)
Thread.Sleep(10000)
[Code].....
I have a browse button that only searchs to .map files. This is my code: >>
Private Sub But_Browse_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles But_Browse.Click
Dim SelecteerScherm As New OpenFileDialog()
SelecteerScherm.Filter = "Only .map files (*.map)|*.map|All Files (*.*)|*.*"
[code]....
When I do ok, how can I get this map file in a textbox ?
I want to receive the text that is written in notepad. The text length it returns is correct, but it doesn't return any text. It's just blank.
CODE:
I have been developing windows and web application using Visual Basic 2005 for a long time. Now i want to change from Visual Basic 2005 to Visual Basic 2008. I would like to know what ever projects i have done in visual basic 2005 will works in Visual Basic 2008. Will the existing code in visual basic 2005 supports Visual Basic 2008 or do i need lot of modification. I haven't used VB 2008 but i hear that most of the code which written in visual basic 2005 supports visual basic 2008. What are the things i need to take care when working the existing projects in visual basic 2008.
View 3 RepliesAfter upgrading code to VS2010, the error "MSB3134: The permission set requested by the application exceeded the permissions allowed by the Internet or Intranet zones. Select Full Trust or to continue using partial trust, define your custom permission set in the Security Page of the Project Designer. Bentley Software Loader". The same code ran fine in VS 2008
View 3 RepliesBasically i want to know if the visual studio IDE and/or compiler in 2010 and 2012 was written to make use of a multi core environment (i understand we can target multi core environments in all versions using parallelism, but that is not my question).I am trying to decide on if i should get a higher clock dual core or a lower clock quad core, as i want to try and figure out which processor will give me the absolute best possible experience with Visual Studio 2010 or 2012 (v11) (ide and background compiler).
If they are running the most important section (background compiler and other ide tasks) in one core, then the core will get cut off quicker if running a quad core, especially if background compiler is the heaviest task, i would imagine this would be difficult to separate in more than one process, so even if it uses multi cores you might still be better off with going for a higher clock CPU if the majority of the processing is still bound to occur in one core (i.e. the most significant part of the VS environment).
how I can go about having a ini type file so my.settings don't get over written when I load newer versions of my application?
View 3 Repliesdoes ADO works on VB 2008 ?i have this error when i tries to run this code
'Item' is 'ReadOnly'
and below is my code:
rs.AddNew()
rs!("pwd") = TextBox1.Text (it gives me the error here )
So my vb program works inside of vs 2008 with the code below but when i build it and put it in windows home server it crashes. The problem is with the if statement. If i take it out the program works just fine. the if statement searches the output from the shell.
schedule = "SCHTASKS /Create /SC " & Often & " /RU Administrator /RP " & password & " /ST " & TextTime.Text & ":00" & " /TN " & title & " /TR " & path & " > C:copypalslogs" & title & ".txt"
[Code]....
Im on Chaper 10 of Microsoft Visual Basic 2008 Step By Step, and I just dont understand how a module works. Ive the chaper over and over and i still don't get it.
View 12 RepliesI have written a pontoon game for a college project but i have a problem in which my loop only works when there is a breakpoint in it.The counter is incrementing as i have used a msgbox to display it. The procedure runs the loop and returns the same value in all locations in the array. With a breakpoint it displays correctly in the array.
here is the
Dim aryCardValue(0 To 10) As Short
Dim aryCount(0 To 10) As Short
Dim i As Short
[code]....
I have used the cards procedure in other programs and it worked fine.
my code doesn't seem to work on windows XP but does work on Windows Vista and 7.
Code
Imports Microsoft.Win32
Public Class Form1
Dim rValue, rsvalue As Int32
Dim Regkey, RegKey2 As RegistryKey
[code]....
I've been working on a project lately, where the user can click on an item in a listbox and then get a picture in the PictureBox1. My problem is that when I added a tab control so that I could have several pages with different listboxes and pictureboxes, it stopped working! When I click on an item in ListBox1, the picture doesn't show up in PictureBox1. Why did the tab control ruin everything?
View 3 RepliesI have browse the net and can not find any examples of code that i can use to see how the Mschart control works. Can someone please help me with some examples.
View 4 Repliesmy goal is to control the incoming and outgoing packets to a game server, to alert when a game round finishes the main code is this:
Private Buffer(65535) As Byte
Private RawSocket As Socket
Public Event PacketReceived(ByVal PacketBuffer() As Byte)
[code]....
this code works perfectly with XP (you can read both incoming and outgoing packets to the game server)... with Vista the same code displays ONLY the incoming packets....
When trying to get this program to filter appointments based on which doctor is selected, the code works fine with a sample database. When i try to use the database I have to, it doesn't show any appointments.
Imports C1.Win.C1Schedule
Imports C1.C1Schedule
Imports System.Data
[code].....
First of all I am not a really experienced programmer, sorry for that. I try to do my best.So far my application is succeeding: it can create a directory for itself download a file from the internet, rename it to the matching unique id for the user, replace the file and backup the old one.
THe problem I now have that the file to download is 22mb, with .rar it's only 3mb. Zo I tried to zip it (also worked) but now I need my application to decromress it. After a lot of search I found this method from MSDN:
[Code]...
I have made a little Hotkeys utility for Poker Tables. I hook the keys and, depending from the key, I simulate a mouse click over the related table button.The Sub that make the job is this:
Private Sub DoMouse(ByVal flags As NativeMethods.MOUSEEVENTF, ByVal Wheel As Integer)
'wheel = +-120 if wheel event, 0 in other cases
'added hoping to improve the code, but nothing changes, Hwnd is a global variable
[code].....
'Make a control array work around (it works) except for'PROBLEM txtBatterPos_Changed sub handler.[code]
View 2 RepliesI am having issues with my program. It should update every time i click the button, but it runs through perfectly on the first click, after the first click it does nothing.This is a UDP Program, where the client sends a packet with a sequence number and payload which are separate items in the packet. The server receives the packet, reads the sequence number, and then sends back the next sequence number the client should send.The client then receives that from the server with the same payload.. And then should change its sequence number to the one it recieved, and send that to the server..The client works up to where the client updates to the sequence number it receives from the server.. But both show no effect on any clicks after.
Heres my Client
Option Strict Off
Option Strict Off
Imports System.Net.Sockets
[code]....
"Access of shared member, constant member, enum member or nested type through an instance; qualifying expression will not be evaluated".I have this message showing up that references this code in the keyup event:[code]I am just testing the trapping of keys right now. The code still works but I am uncomfortable with an unresolved warning.
View 3 RepliesI have a function that I use quite a bit that I wrote more than 2 years ago. It works fine but recently I saw how it can use up a good deal of time under certain condition. Here's some code that uses the function SelectValue The function works so that if you had N which you plug into the function rising continuously while SelectLimit was set to 255 then SelectValue would match N until N reached 256. SelectValue would start to descend to 0 until it reached 0 and then it would again ascend to 255 and the process would repeat. So SelectValue(255, 255) would return 255 and SelectValue(256, 255) would return 254. SelectValue(257, 255) would return 253.
Option Strict On
Public Class Form1
Dim sw As Stopwatch
[code]....
The function works exactly as I want it to but if one of you knows a way to write this so that it will process faster then you can let me know. I get a result for processing time of 6.11 seconds on my computer for the above code.
I have a spreadsheet with this code:
'insert link
sheet1.Hyperlinks.Add(sheet1.Range("P1"), "http://http://www.vbforums.com", "")
the code of the button (ribbon)
[CODE]...
When I press the button, it connects to the web site. when the sheet1 is selected, it works, but when the sheet2 is selected, not works, why? the path is sheet1,What's wrong?
There shouldn't be any problem whatsoever right?
VBScript_RegExp_55.RegExp
and
VBScript_RegExp_55.MatchCollection is gone
VBScript_RegExp_55 name space is still around but only contain interface globalObj and errObj.
I've created an SQL Query using the query builder. In the query builder, you can test the query by clicking the button "Execute Query", and entering the desired values in the parameter fields.
My query returns the correct results when I do this, but when I seemingly pass the same values at runtime, I get 0 records returned.The query is designed such that you can pass nulls if you don't wish to filter data by that particular parameter.
SQL Query:
SELECT ID, UPC, Quantity, Manufacturer, Style, Color, Size, Category, DateReceived, Cost, OriginalRetail, Retail, LocationID
FROM Inventory
WHERE (UPC = @UPC OR
[code]....
In the query builder "Execute Query" dialog, I enter a value I know that the db contains in the "Size" field, "1/1/1900" & "1/1/2199" in Dates A & B, respectively, and nulls for all other fields. This returns 1 record, which is just as I expected. It works correctly.But when I pass the same values into the method created by the designer, I get 0 records returned. I can't figure out where the problem lies. Even if I enter nulls for all fields other than the dates, it returns 0. This tells me that the dates are causing the problem, but I can't figure out why, because I'm passing strings equivalent to what I entered in the query builder.