Answer Questions
Rafael Rivera System.IO.Directory.GetFiles
Hello, I'm writing code for a directory read (see below) and as of now I want to make sure it can read from a UNC path (i.e. \\SERVER ) opposed to the local machie (i.e. C:\). I've used the code below which works with "C:\" for a location of the files, however when I change the path to a UNC path I get an error saying that the UNC path should be a shared folder. Why is there a difference I have to use a U ...Show All
doctus Independent Executable
How to create a executable file from VB.net Project to remove i t s dependency on .NET-Framework i.e the the application should run on the target system without .NET Framework installed on it. Sorry... it's utterly not possible with VB. You'll have to goto C++ for this. ...Show All
basayana How to make a class accessible globally
Good day, I have a class that handles reading recipes from a database, allows the values to be changed and re-saved, and does some validation. I would like that class to be accessible globally in my application. I am struggling with the best way to do it. I have some ideas, but I wonder if there is a better way. 1. Create a module, instantiate the class once inside the module and access it that way. 2. Use all shared variables wit ...Show All
SiliconMage deleting from database
i got a button called delete and when i enter in a order id (shown in the pic) and click on delete it goes into the database find the id and the row of information and deletes it, i want some information on how i can this can be done idea anyone please Click on Mark as Answer next to the post that fixed the issue so that the newsgroup builds a good KB. Your question and its answer could help someone in the future. db1.conn ...Show All
cathy kmh ocx error
when im trying to open some project im getting the error- CRYSTL32.OCX could not be loaded i just instaled the vb6 and also crystl32.inf and im a quite new in this so what should i do whats is wrong thanks in advanced i registered the crystl32.ocx but when im openning the project im getting the same error. That ocx is the Crystal Reports OCX. You should install the Crystal r ...Show All
Kjell Inge Printing in color
I am using VB2005 Express. My problem is I can't print in color I am Importing Systems.Drawing.Drawing2D and System.Drawing.Printing Public Class Form1 Inherits System.Windows.Forms.Form Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click PrintDocument1.Print() End Sub Private Sub PrintDocument1_PrintPage( ByVal sender As System.Object, ByVal e As Sys ...Show All
rcook349 HTML Editor in Visual Basic - HELP
Hello everyone and anyone who is reading this. I would like to know how to build an HTML editor in Visual Basic. I really dont know where to start. If anyone could tell me how, or tell me what I need to know, any help would be very appreciated and will not go unrewarded. Thank you. wf.service@sbcglobal.net How did you decide on an HTML editor as your first project If you're trying to learn a programming language, and you want your skills ...Show All
Erik Sharp Deploying a VB project
Deplying a project made in VB.NET is no problem But i want to add a link to the program menu in order to uninstall the program from the computer. does anyone know how to do this grtz Click Once automatically adds an item to the Add/Remove Programs Control Panel that allows users to uninstall the application. However, I'm not sure how to add an uninstall shortcut directly to the Start menu ...Show All
Dasbose Search function
Hi! I need help to make a search function to my program. I want to search after Spyware (my program is an antispyware program) So then i need help with the search thing. I thought that maybe I must make a file or database with all the spyware names in. Then my program reads the names fro the file\database and search after it. Just think about a anti virus program that search after viruses. Could somebody help me with this the code you fo ...Show All
NBarbosa Best method of printing in vb.net
Can anyone recommend a method i could use to print reportys in vb.net that is tied to a database Thanx SQL Server 2005 has reporting services - perhaps that's the direction you want to go Thanx mate Not entirely sure. i have constructed my db out of oledb commands and want to install something by way of a confirmation page. do u think that wud be best does vb.net not have anything ...Show All
lib_team imageformat conversion..
sorry for asking a sillly question.. i want to know how to convert a jpeg format file to bmp file.. without changing the bit depth of the image...if anybody can give the code too.. it would be great.. ashtified_85 http://www.freevbcode.com/ShowCode.asp ID=5799 -- Teemu Keiski ASP.NET MVP, AspInsider Finland, EU http://blogs.aspadvice.com/joteke ...Show All
sb_pariveda help me about data Grid
hi. I need help to chenge the datagrid data. I want when my user select XXX from combo box one of Column in data grid seted as XXX. as hapend when Data have reletionship. I cant make reletion becuse it hapens in just one form . not in all data base. if not . my user have to select that code in every row of data grid. and my have mistake. thanks for your help Tanks That is what I want . Tanks very much Hi, You ...Show All
Jiongxiong Chen Problem with Combobox and SelectedValue
Hi again from Spain. I'm working with the beta2 (VB.NET) and i have a problem with a ComboBox and the SelectedValue propertie. I fill a Combo from a database and i use the AutoComplete feature to make easy select a value. But... if i use TAB to enter the Combo... i type the value or select it with the keyboard... and ... then use the TAB to go to the next control (or click with the mouse in other field, button, etc)... the SELECTEDVALUE of th ...Show All
SUPAXE Double for next loop repeating itself! Why
why does this code go through the a loop twice Dim a, b As Integer For a = 1 To 1 MsgBox("a = " & a) For b = 1 To 2 MsgBox("b = " & b) Next b Next a worked fine here.. drag a button onto a blank form and put your code in the button click event, msgbox a only showed once and b showed twice. Carl Sorry Aparently this routine was b ...Show All
Astronicus VB express edition with odbc connection
I want to connct through odbc in express edition .........can any one help me Sorry, I should have said look up OleDBConnection in the documentation that comes with VB Express. Or look it up in the online documentation on http://msdn.microsoft.com/vbasic/ or in the library reference you show in your post. Look up oledbconnection in the documentation Price, If you are going to refer a user to the documentation please be so ki ...Show All
