12,155 Topics
Hi, Is there a way to separate strings in Classic ASP? Here is the sample of the CODE: <%@ Language=VBScript %> <% Option Explicit %> <% ' ----------------------------------------------------- ' CDONTS Email send script ' © [url]http://www.designplace.org/[/url] ' Comments must remain intact for re-use of this code ' ----------------------------------------------------- dim strFName, …
Can someone take a look at this and possibly tell me what I'm missing here? [code=VBScript] <!-- #includes file="DBConnect.inc" --> <% u_CDNum=request.form("u_CDNum") u_CDDesc=request.form("u_CDDesc") u_CDStock=request.form("u_CDStock") %> <% SQL = "INSERT INTO CDNumber (nCDNumber, tCDDescription, bStockorMiscImages) VALUES ('"&u_CDNum&"','"&u_CDDesc&"','"&u_CDStock&"')" conn.Execute(SQL) %> [/code] Get's this: Microsoft VBScript compilation error '800a0409' Unterminated string constant /rsd_image_library/X/input_text_to_db.asp, …
I usually deal with front end stuff involving just xhtml and css, but I've been dabbling in vb lately...because I got this web dev job that requires it. My manager recognizes that I had no previous experience with vb, so he offered to help me on it whenever possible. Now …
Has anyone ever heard of this file, dwsbc.ocx, and know why it might be invalid or not registered correctly. I tried to find a replacement for it on the internet but it cost a few hundred dollars bundled with other files I am not sure that I need. Any ideas …
Hello, I am interested in learning Visual Basic programming language and am a beginner. Can anyone introduce any tutorial resources or e-book for a beginner in Visual Basic. Thank you very much :)
Hello, I'm having a bit of a problem building a search form in my visual basic database. I tried (LIKE @Column + '%') or ('*'). No use because its not showing me the text box in wich i can actually search. I think i'm having this problem because i've imported …
Hello, I am trying pull data from a 2-dimensional array but am getting an error like: [QUOTE] Microsoft VBScript runtime error '800a0009' Subscript out of range: '1' /test.asp, line 39 [/QUOTE] the message gives the line number but i don't see whaats wrong with it this is a simplified version …
Hi, I would like to use and know about the golden parser engine in my software. I am using VB 6.0. Is there any ideal for it? I would like to learn more. thanks
Hi all, I have got the problems to sense the mouse's movement in VB 6.0. How should I solve it? At first, I use Form_MouseMove function, but the movement will not be detected while the mouse pointer gets out of form. If so, I can't use it. I know the …
Hello Seasoning Greating! Hello to you all i am a student in a college and we are in a group we are giving the task to choice a project topic to write on VB and the project should be related to what is in our environment such as! 1) sending …
Basically i have a VB6 project where i have a web browser on my form. I have a listbox and command buttons. What i have so far is when you click one of the command buttons, it opens a text file that is on your desktop. That text file contains …
Long ago, in the days of Word 2, I wrote a very successful macro ('surname first') in WordBasic. Its purpose was to create proper index entries from text. Because it was used to index a big book, it was apparent that the user, mousing the text, would often inadvertently include …
i have opend an excel file with vb6 an d i want to delete a row in the file by clicking a button in vb but i have no idee how i must do that. can someone help ????
Im new whith vb6, i onley now de basic of it. but i have a problem with excel. I opend and existing excel file with vb6 in a private sub. [CODE]Dim xlApp As Excel.Application 'Nodig voor werken met excel Set xlApp = New Excel.Application 'excel openen xlApp.Visible = True xlApp.Workbooks.Open …
is there a way to implement a graphical scrollbar? the vb6 one is kinda ugly.
Is there a way in Visual Basic .net to make textboxes uneditable? I have my program reading data from a file and displaying the contents in various textboxes but dont wish to allow the user to be able to edit the contents of said textboxes.
Hello everyone, I'm a bit new to this forum, found some excellent posts that helped me alot on this new and advance project I'm working on. I'm creating a program to control Vinyl Mastering Equipment, and the audio that goes with it. The problem I'm faced with is accurate timing. …
Hello everybody, first this is my first post on this forum and im from Germany, so sorry for some confused language syntax ;-) I developed a electric circuit that controls some LEDs. This is built into my computer to make some light effects. I wrote a controlprogramm for the microcontroler …
can any1 help me use a progress bar(if im not mistaken) i wanna put a loading bar in my login form but i dont know the syntax i must put thx in advance to any1 who can help
Hi I have created one form with labels as ScripName,LTP1,LTP2,LTP3. 1.Now i want to write an event procedure for On Click event.I want to run the following update query when i click on LTP1 label UPDATE ppc500 INNER JOIN bse500 ON ppc500.ScripCode = bse500.ScripCode SET bse500.LTP1 = ppc500.ltp; ( ppc500 …
Can a form have a different shape than just square or rectangle
I read my text file into a string with something like [CODE]String = My.Computer.FileSystem.ReadAllText("textfile.txt")[/CODE] now the text in the file looks something like xxx xxxx xx xxxxxxx xxxx xxxxx and i have to seperate everything into several arrays.. which really wouldn't be a problem but i can't seem to figure …
Hi all, I developed a program in VB5 that uses a lower version of crystal reports. I installed SAGE AccPac (As you may know SAGE ACCPac uses a higher version of crystal reports) on the same machine where the developed program sits. My reports are distorted. I dont think VB5 …
Can anybody help me with adding the records of access to combo and then searching through that by typing in the combo
Hi guys, I have been programming with vb since version 3 writing commercial applications. I have to write applications using the internet as the base block. I have never dealt with vb and internet controls, so I have no ideas as to how to write an internet app. with vb6. …
Hi all .. Hope that this forum can help me . I have to make a program that can talke to my Atmel ( micro) thu the ISP (In Serial Programming). I only have the source code in devcpp (c++) and dont know anything about c++ ... the source code …
hi well i have a program that can print wav data in a text file. Is it possible to make a wav file with the available data from the text file and play it in VB. Playing the file isn't that difficult, but i m still scratching my brains as …
Hi I am experimenting with VBScript and SQL and am unsure if the following code will actually work. I do not have access to IIS at present so I am unable to test it. I would be greatfull if anyone could just take a brief look at the code to …
I've been searching a lot, but couldn't find anything about what I would imagine to be pretty easy. I'm trying to get a number out of a List, that is getting information out of an Excel file. But I don't think that matters. I then want to give it a …
i need to program a (number- word) ex. from 100 convert it to one hundred by using vb 6.0 ... by using one command button and two text box. need help. pls. tnx for those who want to help.this is my project for my first program in vb 6.0. just …
I'm trying to write a macro for Excel. Here's what I'm trying to do. I have a list of 25 rows of data. I want to copy one row, paste it in another, and then print another worksheet to PDF (and then repeat with the next row). I can only …
Hi, I am trying to read a old basic (qbasic4) into vb6. As expected Im told to convert to text first. Problem is I dont have qb any more! Is this freely available or is there a read and convert prog available. Thanks for any help! philip
hi every1 , i need a help pls on how i can make an installation form for my project, i mean, like when a burn my project on a CD, then after installing it, there will be a installation form(it will auto run), then that form will store the project …
PLEASE I NEED A CODE TO DOWNLOAD BARCODE FROM A SCANNER TO A P.C. USING VISUAL BASIC .NET . I WILL APPRECIATE UR PROMP RESPONSE. U CAN GIVE ME INSTANT MAIL ON MY YAHOO CHAT ID [email]wiseshort2000@yahoo.com[/email]. tanx omotoyosi
Hey, I have this code i wrote in vb 2008 express that works fine on vista but not at all on xp [code=vb] Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick Me.Visible = False Dim fw = FindWindow(vbNullString, "Logoff Warning") If fw = 0 Then Else …
Hey guys first time learning VB6 and i have to do a Hangman project for my Gr 10 class But i need some help. I am have trouble figuring out how i make the dashes come out in my label box when someone inputs a word. Like say someone inputs …
I have made a program and published it using vb 2008... this program saves various values in a txt file.... but when i open the folder where the program is installed there is no txt file.... Sois it safe to store and retrieve passwords from a txt file?? Think it …
Dear Sir I am new in vb. I am facing a problem. I create table in Access. where(ID, Name, Salary) field is there. I Make front page with VB.6 now i want to input data name, salry. ID should be generated by machine increased one by one. How i will …
i am trying to write some vba code to copy 200 workbooks from 200 folders on a network. example i have a directory called F Within F i have staffstreamA within STAFFSTREAMA i have 200 folders named as forth A1,A2,A3 ETC TO A200 Within folders A1 is a folder called …
Season Greetings! Searching database file in the application path I want to determine the database file is existing or not... If the database (".mdb") is existing then msgbox "The database .mdb is not existing" if not existing msgbox " The database is not existing" If the database is not existing... …
I am doing this program that has listboxes and 2 combos Listbox 1: 1-3 Persons Listbox2: 4-7 Persons Combo1: 8-20 Combo2: 21-50 When I click on a number of persons the price is displayed... But I need a way to change the prices so they must not be in the …
Hi, My database in Access contains record since 2005 and it is not required for frequent use unless the Audit ask for. So I would like to take the backup of the data through VB6 by writing code instead of going to Access and copying in CD So will any …
I m using VB6 and MS Access. In MS Access table I have already set the decimal digit to 2 and it is showing only 2 digits after decimal in MS Access Table but when I put the data in MSH Flex grid then it shows around 12 to 14 …
Hi, I'm hoping that someone can help me out as I'm sort of new to programming. I recorded a macro that uses microsoft query to get data from an access database. It works fine as it is, but I want to change the final filter to a variable and I …
I need to get an image to move a number of twips at a timer interval determined by a variable (no problem) for a number of iterations through a for/next loop (problem). I've tried it without variables without success: first: Form_Load() Dim jumps as Integer jumps = 1 For jumps …
hi, i'm a novice user of VB. a freshman student of saint mary's university, can you please help me in my problem,, i'm having trouble in our VB 6.0 coz i dont have any knowledge regarding in this,, can you pls provide me a code which in cpu scheduling which …
Hey mates, i am willing to learn the Visual Basic.NET Programming Language. Which software should i use to begin practicing and which ebook do you advise me to use to begin learning ? And is there any background to star with this programming language or it is considered an easy …
Please suggest me a Control or Object (Other than MDI Form) In vb 6.0 which can hold a Form. I want to call another form from within a form in a control like TabStrip. Pl. suggest me at earliest. Thanking you; Pankaj Kumar
The End.