Software Development Network Logo
  • SharePoint Products
  • Windows Vista
  • SQL Server
  • Game Technologies
  • Smart Devicet
  • Audio and Video
  • .NET Development
  • Visual FoxPro
  • Windows Forms
  • Visual C#
  • Visual Studio
  • Microsoft ISV
  • Visual C++
  • IE Development
  • VS Team System

Software Development Network >> Visual Basic

Visual Basic

New Question

Colour Combo Box
Remove image in Access OLE field
Using SQL 2005 instead of Access for Database
.Net User Controls in VB6
Problems Retrieving Clipboard From a DLL Assembly, Anybody ?
what happens exactly when we create a new instance and assign it to an existing.....
VB2005 Access test
How to send e-mail?
Running Applications?
Field Behaviour Combo/Textbox Show/Hide

Top Answerers

rhansen
seco
Mark Guenault
Eugene Ye
DongL
francescoS
DotNetDave
ivods
Annihil8
DzheiZee
sitemap
Only Title

Answer Questions

  • deodorant2 Web Browser Popups

    Hello everybody, I have created a successful webbrowser in VB Express Edition 2005, with all controls (back, forward, stop etc..). Yet when a link is clicked which opens a new window on a website, it always opens in internet explorer... how can I prevent this from happening Thankyou Ben im only assuming here so please someone correct me if im wrong but im thinking that this may be because your default browser is internet explorer, try changing this and get back to us i have the same problame please help us thanks It's not clear exactly what you want - are you saying that you want the link to open within your own webbrowser control instead of in a new window Or are you trying to block it from opening at ...Show All

  • MKan reading text from a document and displaying it

    I have TextBox1 (to enter what you want to search), TextBox2 (to display the results), and Button1 (when you press it, it does the whole process thing). I was given this to go by: ================================================================== Theres a couple of steps in a possible approach here. One is to be able to read the contents of a file. If your using VB Express / 2005 this is possible using dim sContents as string = My.Computer.Filesystem.ReadAllText("c:\foo.txt") the next is to be able to find a match on your textbox entry you can use the instr method in VB which would be something like dim x as integer = instr(sContents, Textbox1.text) No ...Show All

  • Steev Combo box (again)

    Hi guys I am having a few problems with combo boxes, i have inherited a combo box to add some more features, i also provide a data view as the datasource, this side is working well. I have the dropdown style to dropdown and the autocomplete mode to suggest append. If the box has focus and i hold alt + arrow down then the list displayes. If i type for example 'a' whilst the list is dropped down a further list is displyed with my selection, if i highlight my choice and then press enter then the box is empty. If i use tab then my selection is displayed. is this correct or am i doing something wrong here i have experimented with different autocomplete modes. Regards Steve This could appear to happen ...Show All

  • BlackCatBone Isolated Storage settings lost when re-publishing

    I'm using VS2005 and clickonce technology. When I publish a new version of my program to my clients their isolated storage settings do not upgrade to the new version I've published. When using app config or user config settings on the 2.0 framework, you can use the Settings.upgrade code to pull the settings up to the new version published. Is there similar code to pull my isolated storage settings up to my new published version kreativekai, When you publish a new version of your program to clients, the clickonce technology with XCopy cannot cover the old version because of the different version number control. The .NET Framework enables side-by-side installation and execution of different versions of the same application. ...Show All

  • Iota Studios How to sort a TreeView numerically

    I have a treeview with each of it's nodes starting with a 6 digit hex number. I want to be able to sort the trees nodes so that the lowest numbered node is at the top and the highest is at the bottom. I do not want the nodes children to be rearranged though. I notice the tree has not a sort method (that I could find). Thank you for any help, Troy I just ran into a worse version of this problem that I hacked through this way: /// <summary> /// Used to prevent sorting of certain nodes in the TreeView. By /// default, will peg the node to position 0; /// </summary> public class FixedPositionTreeNode : TreeNode { public FixedPositionTreeNode() : base () {} public FixedPositionTreeNode( string ...Show All

  • december_i Try to use the UTF-8 code in your program

    Hi everybody How are ya I work at solution like office but i found problem with open Doc Files which is written by Arabic when the project open the file The text is only three squares so what can i do and thank ya for everything. Adel English and other common languages can not be shown in the Arabic fint style. So it is better to choose the UTF-8 standard to show your special code in the compiler. ...Show All

  • Bandile Add items to listbox

    Hello, I'm trying to make a project where when the user clicks btnCalculate an input box shows asking to input SPEED in miles per hour, followed by another inputbox asking for the amount of TIME in hours. It should then use a loop to display in a listbox on the form the distance the vehicle traveled for each hour of that time period. This is what I have thus far but I am stuck once again! This is an example of the output in the listbox: Vehicle Speed : 60 MPH Time Traveled : 7 Hours Hour        Distance traveled 1             60 2             120 3     &nbs ...Show All

  • Ted Carron Reusing Forms

    Greetings I am converting a VB6 program containing multiple forms into a 2005.net VB program. In the old VB6 program I use a modal form and then I want to re-use the same form but but change some of the labels and make visible a control that was invisible the first time around. In the VB 6 version I was in, say, Form1 and executed the following code: Unload Form1 Form1.Show 1 This re-did the Load event and I used a counter to customize the form in its second life. Is there any way to do this simply in VS2005 VB Thanks again for the clarification.  I wonder if I could trouble you with the current state of my problem.  I have made some progress but... As suggested I created an i ...Show All

  • AE from SFO copying html contents from file with querystring

    Hello i need to copy the contents of a html file. i have tried the DownloadString method, but the page i need to copy has a querystring. (e.g articles.aspx id=2) if i add the querystring to the address then an error pops up saying the address is not a valid virtual path. Any ideas how i can get around it thank you for the help, much appreciated. I will post again if there is anything more, but for now its sorted. I took part in a discussion simular to this that might work for you. We solved it using the WebBrowser control like this: Imports System.IO Public Class Form1 Private Sub btnBrowse_Click( ByVal sender As System.Object, ...Show All

  • mahima Sample CreateWindowEx API

    Hi Everyone again, finally, i got how to replace the start button of xp. u need to call 2 api's: findwindowex and createwindowex. and i got a question on the 2nd one: visual basic code: Attila Forgel, I think the sample code is just an example on CreateWindowEx API. If you would like to use it directly in your project, I think it is possible. I will try to check the marshall attributes needed when upgrade in to VB2005. I suggest you to give me the specific problem in a new thread. Thanks again for your question. This was exactly what I thought you were doing if your plan is to make a tiny form to replace the button. I think you now have the tools and an approach to proceed. Please be mindful of Vista r ...Show All

  • MrSock Impersonation and Win 2003?

    I have a class library created with VS 2005 on Framework 2.0 that I use for our Windows desktop apps to validate a user against Active Directory. The Impersonate function uses a valid generic AD user to log in. I'll copy in the basic code in question below. It seems to work fine on the XP machines that I have tested it on. However one major use for it will involve installing it along with an app on a server so that users at distant locations can use remote desktop or something like Dameware remote control to run it on the server. The server OS is Win 2003. The LogIn function fails when I run it on the server. The machines are all in the same domain. Is this a security thing with 2003 or something else Thanks. <Assembly: SecurityPerm ...Show All

  • rod_r Embed a user control in a datagrid ( Urgently )

    Hello! can any one please help me on this : i wanna to embed my own user control inside the datagridviewcell, can you give me some examples, i search about it and the results didn't meet my needs. Check out the sample at the following link. It details how to add a new control and column type to a DataGridView http://msdn2.microsoft.com/en-us/library/ms180996.aspx ...Show All

  • Dr. Pastor. Performance- Code Snippet

    Hello, Any suggestions for improvement in this code snippet, performance wise [expecially since we have Generics in .net 2.0] Dim arr() As String = Split(PageRange, "-") Dim StartPage As Integer = CInt(arr(0)) Dim EndPage As Integer = CInt(arr(1)) Thanks for the responses. Split function by default returns a 1-dimensional string array. This forces me to declare my array variable as "string" although i know that my array only has integers. I think there is a performance penalty in doing the boxing from "string" to "int" on each array element.May be I can have a "(Type T() of Integer) and use a function that splits a string into a 1-dimensioanl array of integers ...Show All

  • Varsha K. check assembly

    i need to Check Whether the assembly is already running in the process when i start the same assembly ( to avoid duplication in assemblies running currently) i need one copy of assembly to run at a time.. is there any property to set or how to check As stated, that the Setting given by Alex is only for VS2005, not VS2003 if its an executable assembly, your app, you can get the list of processes by name and if it already exists then you know that another instance is running: Dim theProcesses() as Process = System.Diagnostics.Process.GetProcessByName(" yourAppName ") if theProcesses.Length > 1 then 'another process running end if THANKS it works in form_load event , actually i am using .n ...Show All

  • Mike Lapierre "like statement" to compare file directories

    (broke hand, excuse the typing) i have a text file being read by our data management software that is written in vbscript. i have a set of "if thens" that determines what type of id each of our records recieves in the database. these work properly, but i need to add to it and narrow thing down based on a file path. if the file i am entering exists in a certain folder, or any subfolders, i need it to assigne an id based on that, and if not, then it would go on to the next elseif. below is what i have, and i know that the first two lines are written wrong (written in sql), but it might help to clarify what i am trying to accomplish. the rest of it i know works and is what i currently have running, i just need to add this one other option to ...Show All

707172737475767778798081828384858687

©2008 Software Development Network

powered by phorum