winsock: "host not found", but computer is detected fine

6055 byte By venom999 at 2007-11-20 11:32:45
i'm getting a list of computers on ther network, putting it in a listbox, and then letting the user select a computer to send a command to (all computers are running software to interpret the commands).what's strange is that sometimes it'll correctly see a computer, and then when i tr...

Unable to add a new data into access

2979 byte By Hemant9999 at 2007-11-20 11:32:46
Hi,I am tring this code to add a new record into access. But when I run the code I am getting an error message as syntex error.Here is the code that I am trying..... Private Sub btnSave_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSave.Clickinc = 0If inc <> -1 T...

deleting Outlook attachments

708 byte By phinds at 2007-11-20 11:32:47
My VB code for saving attachments to a file and then deleting them from the email saved the file just fine and SEEMED to do the delete as well (I got no error, or any message saying the delete didn't work) BUT the attachment did not go away. I moved the code into VBA inside Outlook, thinking t...

hotkeys

72 byte By mooso142 at 2007-11-20 11:32:52
can some one help? can you tell me how to make hotkeys to a command plz!

vb6

70 byte By mooso142 at 2007-11-20 11:32:56
can some one sned it to me over msn if so <br/>add: mooso142@gmail.com

Divide a picturebox into grids

556 byte By cy88 at 2007-11-20 11:33:10
Hi all,I am very new to vb, so please excuse my newb-ness :)I am currently doing an assignment which is to create a puzzle game, where user opens a picture, and I'll have to cut it up into pre-defined sized grids (Small, Medium, Large), scramble it and the player can then rearrange the puzzle.I...

I have Timer Problem

682 byte By mbhey101 at 2007-11-20 11:33:20
When loading some "fairly" intensive forms I cannot get a timer control to run its code - I would like to flash a caption of a commandbox and because of the form loading this timer control will not launch - I have tested without the forms loading and this timer launches fine - Is it possible that VB...

How to work with Selected Item of listboxes?

616 byte By NightmareB at 2007-11-20 11:33:28
Hi there,I got stuck when working with multiple list boxes control. Just take a look at this Picture http://img.photobucket.com/albums/v373/nightmareb/ListBox.jpgWhat I want is pretty straight-forward:1. When a form load, only Choose Book listbox is visible (solved)2. When I choose a book on the lis...

How to read stiring for listview

445 byte By mark103 at 2007-11-20 11:33:35
Hey!I'm making a project for a test to read the ini string for listview but I couldn't find a sample one. If I had find one for myself then I wouldn't have posting my request on the forum, I would have build one for myself. I need your help with this. It have to be reading one line in...

random numbers questions

892 byte By idle at 2007-11-20 11:33:36
anyone know where i can find some decent information on permutations both with VB and without, i've had a search about and found some half decent resources but nothing really in-depth.EDIT: can't change the title of the thread?? anywayhere are some of the links i've found in case anyo...

Running A Program from the USB Drive

209 byte By NoviceProgrammer at 2007-11-20 11:33:52
Here is the scenario:<br/>A program(USBProgram) is stored in a USB Flash Drive.<br/>When the USB Flash Drive is inserted to a computer, the USBProgram is executed automatically.<br/>Is this possible?

Printing and reading bar codes?

272 byte By fredtheman at 2007-11-20 11:33:54
Hello<br/>I got this baby but don't know the first thing about how to print and read bar codes:<br/> http://www.neuton.net/html/Pro-Tracer-Black-CCD-Barcode-Scanner.html<br/>Does someone know about this topic, and could tell me more?<br/>Thank you.

alphabetic character validation

490 byte By shipwreck99 at 2007-11-20 11:34:02
I'm using VBscript to validate a form in an asp page. I need to validate two textboxes. One for alphabetic character & the other will be alphanumeric(The first letter should be alphabetic & the next 5 should be numeric) how can i do it. after validating if there is any problem the asp page will...

Options Dialog

101 byte By mooso142 at 2007-11-20 11:34:17
When i have the Options Dialog open how do i put commands in the 2-4 tabs help me guy<br/>Chears

Loading a program

132 byte By mooso142 at 2007-11-20 11:34:19
How do i load a program(a game in my case) by clicking on a command.<br/>What is the code for it please help me guys<br/>chears

Picturebox Layering

678 byte By TCanuck42 at 2007-11-20 11:34:29
Hello. I have three picture boxes:1.) Background Image (JPG)2.) Circle (Transparent GIF)3.) Triangle (Transparent GIF)The arrow keys move the circle left and right, up and down. Currently, i have the circle and the triangle's parent set to picturebox1 (background image). When the circle moves o...

VB with HTML

901 byte By donraja at 2007-11-20 11:34:31
Dear all,I am required to write a VB6 program, but the user interface is in the form of HTML, rather than VB forms. The VB6 program sits on a PC without a browser and will do the following: 1. Creates a HTML form with 2 fields that allows for 'text' user input. There is also a <submit...

How to Print from a ListView

74 byte By rpc86 at 2007-11-20 11:34:36
How to Print from a ListView using Crystal Report 10 ?<br/>Thank you.

VB & Access :Is there a way to combine vb code with access database?

616 byte By MKTG2007 at 2007-11-20 11:34:50
Hi, I'm developing an access database program with vb6. I have made my tables and db in MS Office 2003 Access and then written the code and control in vb6 IDE. Whenever I want to use it I compile it and then make a runtime and build an exe file but this exe file needs the database & table along...

dynamic row height in crystal report crosstab

126 byte By chona_fhlare at 2007-11-20 11:35:04
hello, <br/>Is there a way that we can set the row height in a crosstab in crystal report to be dynamic?<br/>Please help!

Header should change on next Page

395 byte By gazala at 2007-11-20 11:35:28
I have a formatting issue in my report.Issue is one of the field's data continues on next page.Field header and value are in two d/f sections.Requirement is when field displays for first time or on first page, it has a header i.e 'INSTRUCTIONS' but when it continues on next page the...

Exporting to PDF

554 byte By scroller52 at 2007-11-20 11:35:44
hi, i'm exporting a crystal report to PDF...it should be pretty straight forward right?in my crosstab objects, i have a double underline for a field, when i export it PDF, it shows up as 1 thick line....is this just a bug within crystal? or am i doing something wrong...i simply go to file>ex...

Translate/Dispatch Message Api usage

1031 byte By Morhsn at 2007-11-20 11:35:56
Hi everyone, I'm new in this forum and would really like some help in a project i'm starting.My project requires me to sendmessage to a certain window using this apis:TranslateMessageDispatchMessageLet's use TranslateMessage for example:Private Type POINTAPI x As Long y As LongEnd T...

controlling a button by parallel port

1061 byte By waqasanjum at 2007-11-20 11:36:04
Hi Guru's,Acctually i am looking to control some realworld's electronic's with the help of parallel port, i already know about parallel ports basics and some other stuff, so by the help of these things i created a simple circuit with a switch on it simply controlling a led and connec...

How to set active an other application?

305 byte By ntchinh at 2007-11-20 11:36:09
Hi friends,I trying to develop a tool (the same On-screen Keyboard on Windows, but it's too small key button).But i'm having a problem. When i click on the button on my application, how to set active other application to receive key code?Can you help me?Thanks...

[2005] Treeview error Specified argument was out of the range of valid values.

3554 byte By satoriman at 2007-11-20 11:36:16
Hi,I am getting a Specified argument was out of the range of valid values. - Parameter name: index, ERROR when I click on a dynamically created treeview control in my asp.net (Framework 2) web page. The treeview populates as expected but when clicking on the child node I get the above mentioned er...

grids grids grids...

2118 byte By nyha at 2007-11-20 11:36:23
hi.. i am stuck at this for days now.. would very much appreciate any help i could get/// I am trying to change how .txt file is loaded into flexgrid regarding the layout of the table. Using FlexGrid, I've made below table by inputting data from a .txt file. x y z 1 0 0 15 2 5 0 1 3 7...

System database path CR XI

964 byte By rturner003 at 2007-11-20 11:36:39
I use the following code to login to a crystal report based arround an ms access database<add key ="AccessDB" value="d:\goldmine\orielgold\Goldmine.mdb"/>ConnectionInfo crInfo = new ConnectionInfo(); crInfo.DatabaseName = appSettings.Settings["AccessDB"].Value; crInfo.ServerName = appSettings....

Examination Past Papers

791 byte By iagina at 2007-11-20 11:36:45
Halo Gurus!I (my boss) want to create a database for past exam papers. The exams are not yet in soft copy but I am thinking of having them in PDF format so that one can access them using my program. I have two issues;1. Can I write a program that checks whether one has Adobe installed and if they do...

Drill Doww in Cross Tab Crystal reports

487 byte By vashanth_d at 2007-11-20 11:36:56
In cross tab i have List of hospital name in Y axis. If i click any Hospital name it should drill down new tab and show the list of doctors in that hospital. If i click a particular doctor name ,it should show all the info abount the doctorfield name aaaaabbbbbccccccif i click aaaaait should show a...

Problem Passing Form Control to an ActiveX DLL.

1907 byte By budu at 2007-11-20 11:36:59
Hi, I'm quite new to this forum, it's my first post. I have a big problem, some VB6 code I have the chance to maintain doesn't work anymore.I didn't change any code, but accidentally removed one of its dependencies (APEX True DBList Pro 6.0) and then reinstalled it after realizin...

to int

112 byte By ikcha at 2007-11-20 11:37:11
what's correct method to convert a long to an integer?. How to convert signed integer to unsigned integer?.

Get Line Height/Width

595 byte By Rehorav at 2007-11-20 11:37:16
I need to make a program that can retrieve the width of lines and put it into a histogram. Same thing with the height of lines, but a seperate histogram. I've already looked into histograms and I know how to do those ( I'm using C# for that ). Its how to retrieve the width and height of al...

Transfer txt file between 2 GSM modems by VB6

726 byte By nigege at 2007-11-20 11:37:29
hi all, i developing a program that allow user to transfer a data file through GSM modem. what information i have now is the step is make connection between 2 modems, the 1 send file 1 receive file then close connection. the file is transfer by mscomm. so now i would like to know how to send the...

Help with crystal reports and vb.net 2005

547 byte By g1m0v0n5 at 2007-11-20 11:37:35
Hai,I had developed on project entitld as resume handler in vb.net 2005 and ms access 2000.In this we are storing the candidate details who are all applying for job in our company.It will entire details of the candidate.I want to add another advantage in my project.If I select a candidate name a Rep...

report with 2 columns

526 byte By sonicmouse2 at 2007-11-20 11:37:42
I have designed a CR which looks like a form for woker filling information.to maximize the usage of A4 size paper, my tentative design the A4 size paper has 2x2 forms.Now, I can show the report in 2x1 (top and bottom look like) but how to show it in 2x2 (top and bottom with 2 columns showing form) ?...

[RESOLVED] Deleting file with Kill

204 byte By Bezzie at 2007-11-20 11:37:48
Kill App.Path & "\Update.exe" <br/>Will this statement delete the file if it's open or do you first need to close the file to kill it? I want my update file to delete itself after running the update.

read or write xml to mysql [2005]

78 byte By luckroth at 2007-11-20 11:37:54
hi all. how could i write or read xml data to mysql? many thank for your help.

Importing text File

329 byte By jtomes at 2007-11-20 11:38:04
I am trying to import a text file into Crystal 9. I have used text ODBC drivers, MS Assess type connections. Whatever I try, the first record is always skipped. Crystal is using the 1st record as a field label. The file is a straight ASCII file, 80 characters long per record. There are no field labe...

Find and kill running process

315 byte By leeshadmi at 2007-11-20 11:38:18
HiI have an exe project that i want to make sure that only the current running process will run and if it will find a running process like it then i will colse it and the new process will be the only one that will still run.I need to know how to find a process.How can i kill it?Thanks...

Error on viewing Crystal Report

345 byte By ibrolive at 2007-11-20 11:38:27
hello,i designed an application containing Crystal Report in VB.NET and viewed the application and Report successfully on my system. But when i try to execute the same packaged application on a different system, i get an error message saying that a dll cannot be found or invalid code.Please help me...

Substring issues

548 byte By mellicks2005 at 2007-11-20 11:38:33
Hello,I am trying to extract just a little part out of a memo field and display that part on the report. I am trying to use the substring function to do that, but I keep getting an error stating "A string array is required here".Here's what I'm trying to do in a formula:Filter ({NoteSecti...

Conditional Page Header

233 byte By mintz87 at 2007-11-20 11:38:34
Will Crystal Reports have a page header that will hide if a condition is not met or viceaversa? If so how is this done?<br/>Example: If Company_Name = 'xyz' then unhide page header A<br/>thanks in advance<br/>cg

Code in VBA - To check if the PC is untouched/locked/unused for a specific time

440 byte By MazharShaikh at 2007-11-20 11:38:40
I want a code which I can use for my application which is created in MS-ACCESS using VBA code at the back-end.There is a specific requirement to trigger a module/procedure when the system/PC is untouched or not used or left for some specific time, similar to what happens when one leaves the PC untou...

Control not getting registered on a win 2k Machine

3117 byte By sotoasty at 2007-11-20 11:38:42
I have a .DLL with a user control in it. On most of the machines we have installed this on, we have not had any problems. However I am having a problem with a win 2000 machine. Here is the error as lister.See the end of this message for details on invoking just-in-time (JIT) debugging instead of t...

[RESOLVED] Whats the best way to:

599 byte By dglienna at 2007-11-20 11:38:57
Updating a program that uses the vb6 Inet Control, to POST to a site, and retrieve info. I ran the VB.Net Wizard, and it produced a working program. ;)It's still using the VB6 namespace. I was looking into REMOTING, but it seems to only connect thru a Channel to another Channel.If I don'...

mysql to crystal report

137 byte By homer.favenir at 2007-11-20 11:39:06
i have my db at mysql, but i need to link it to crystal report to make a report for my company.<br/>how can i do it?<br/>thanks

sum of two Running Total Fields

142 byte By homer.favenir at 2007-11-20 11:39:07
i have two running total fields, Total Keyed and Total NWN.<br/>i have to sum these two fields.<br/>what shall i do?<br/>thanks

Beginner (Help)

115 byte By supremejon at 2007-11-20 11:39:19
I want to start programming today. Can someone help me, I realize I need a compiler. Where can I find one for VB?

[RESOLVED] Display First Item in ComboBox...

460 byte By aaronking at 2007-11-20 11:39:20
Hello,I am using an User Control Which was custom made..I have added items to it however I want to be able to auto select the 2nd item in the list by defualt when the application runs.Does anyone know how to select the 2nd item in the combobox..The User Control which im using is in the .zip file inc...