- Strength to Increase Rep
- +15
- Strength to Decrease Rep
- -3
- Upvotes Received
- 80
- Posts with Upvotes
- 65
- Upvoting Members
- 59
- Downvotes Received
- 11
- Posts with Downvotes
- 8
- Downvoting Members
- 11
Richter: Die Monster! You don't belong in this world! Dracula: It was not by my hand, that I am once again given flesh. I was called here by humans, who wish to pay me tribute! Richter: TRIBUTE! You steal men's souls and make them your slaves! Dracula:…
- Interests
- Programming And Video Games
- PC Specs
- Gigabyte GA-EP35 Intel Core 2 Quad CPU Q9450 4GB DDR2 (Dual Channel) 2 75G WD Raptors In Raid0 2 BFG…
1,372 Posted Topics
Re: Have you played with the internal printer object, or printer collection? What you can do, is set the printer to a different index of the printer collection (behaves more like an array). An example would be: [CODE] ' /* Set The Printer To the First Printer In the OS */ … | |
Re: so, the usernames and passwords are stored in an access database? | |
Re: Like, by having all the images side by side? If you can give me a better description, I can see what I can do. | |
Re: Ah.... You are posting VB.NET code in the VB 4/5/6 Forum. | |
Re: It's not. There are things happening in that code that VB can't replicate the same way pascal does it's thing. If you give me a stronger idea of what the program is doing (the entire program) then I might be able to get a feel for how to restructure it … | |
Re: varname=xlsheet.Cells(1, 1).value? | |
Re: Let's try not to post to threads that are almost a year old....mkay? | |
Re: Basically, you can use the system command: [CODE] system("c:\somepath\some.exe"); [/CODE] or you can use backticks, such as: [CODE] `c:\somepath\some.exe`; [/CODE] And yet another solution is to use the open command: [CODE] open(FH, "c:\somepath\some.exe |"); close(FH); [/CODE] | |
Re: There has been a lot of talk about getting QBasic to run on XP, with no luck.....however, someone had uploaded a file that mixed a couple of the needed programs to make it work....umn: thread: [url]http://www.daniweb.com/techtalkforums/thread798.html[/url] download: [url]http://divminds.250free.com/index.html[/url] | |
Re: in a module: [CODE]' /* Code Taken From: http://forums.devx.com/showthread.php?t=148627 */ Public Declare Function GetOpenFileName Lib "comdlg32.dll" Alias "GetOpenFileNameA" (pOpenfilename As OPENFILENAME) As Long Public Type OPENFILENAME lStructSize As Long hwndOwner As Long hInstance As Long lpstrFilter As String lpstrCustomFilter As String nMaxCustFilter As Long nFilterIndex As Long lpstrFile As String … | |
Re: I don't exactly know what an RM Network is... but, If the File doesn't require installation, you can see if it will run .vbs files... [CODE] dim WSH set WSH = createobject("WScript.Shell") WSH.Run "c:\somepath\someprog.exe" [/CODE] Does the system allow access to any programs at all? | |
Re: WaltP is correct. You can also call functions, events and methods this way too. For example, if you have a button on form2, and you want to "click" it from a button on form1, you can do something like [INLINECODE]form2.command1 = true[/INLINECODE]. | |
Re: Why export it to notepad, and then copy/paste into excel, when you could have the VB program automatically add it to excel? -------------------------------------------------- replace [inlinecode]lineoftext = join[/inlinecode] with this: [code]lineoftext = txtname.text & "," & txtpos.text & "," & txtcname.text & "," & DateTimePickerdoc.Value.ToShortDateString[/code] | |
Re: There is a couple of solutions.... one is to put the picture in the same folder as the VB EXE that is going to be running it. And then use the code [CODE] form1.picture = app.path & "\picturename.jpg" [/CODE] Another alternative, is to use a picturebox.... and set it's attributes … | |
Re: [QUOTE=|\|asrin;784810]HELLO Can sombody tell me how can i chang the color of concol background????[/QUOTE] HELLO... can someone tell me how I can get people to quit posting on ancient old threads? | |
Re: In the properties toolbox on the left (by default) find the "icon" property, and change it to the path and filename of the .ICO file you want to use.... | |
Re: you could use a picture box, and then load the picture with: [CODE] picture1.Picture = LoadPicture("c:\scans\101.tiff") [/CODE] Then you have to get a little more complicated, and do something with the printer... so you can say: [CODE]const twipfactor = 1440 picture1.autoredraw = false printer.paintpicture picture1.picture, 1400, 2040 [/CODE] Ok, paintpicture … | |
Re: [QUOTE=CanadianBlue]Boy do I feel foolish. [code] Sheets("Name of sheet").Select Sheets(index).Select [/code] Dont code while tired kids, makes you do some crazy things.[/QUOTE] That's how you change the active sheet. | |
Re: I have installed a game on a DVD before.... the results were uh..... well, less than desireable. | |
Re: [QUOTE=hu_yang;776401]you can find here a Crystal Reports step by step help [url]http://vb.net-informations.com/crystal-report/vb.net_crystal_reports_tutorials.htm[/url] yang.[/QUOTE] Check the date that the last post was posted.... you think they need help with this [b]NOW?[/b] | |
Re: An IRC Bot is a fun one to build...... or a web server. You could build an MP3 player, or a program to keep track of business information, such as clients, employees, accounts, etc. Another fun one, would be to build a web spider..... | |
Re: *Mumbles something about under-rated satire appreciation* | |
Re: Setting The Listbox to have multiple columns will not work the way you expect it to. Having a Mult-Column listbox will only show both columns, when the length of the first column is full. To illustrate this, start a new project, and drop a listbox on it. Change it's columns … | |
Re: you can make it run in the background by merely hiding the form. If you stick a timer on the form, then you can have it cycle to do something every so often. In the form load's procedure just add: [CODE] me.visible = false [/CODE] | |
Re: [url]http://www.daniweb.com/techtalkforums/showthread.php?t=17352&highlight=timer[/url] That Should Help Some! ;) | |
Re: Are you sure the command button is named properly? Maybe attach the entire project as a zip? | |
Re: It's possible that you are trying to create an instance of a class (an object) from a class that is present on the machines you tested it on, but not on the machine it's been deployed to..... for example, I happen to know that I can make a VB program … | |
Re: Since you didn't really specify.... [code=cplusplus]#include <fstream> using namespace std; int main(int argc, char **argv) { fstream fin; std::string excel_file = "c:\myfile.xls"; fin.open(excel_file.c_str(), ios::in); if (fin.is_open()) { // excel file is opened fin.close(); } else { cout << "Failed To Open File" << endl; } }[/code] Although, I bet you … | |
Re: Her last post regarding the project was Dec 30th 2004, I bet she's finished with it by now. | |
Re: *Mumbles something about having him banned* | |
Re: That is the best way to do it. A couple things I would note on this. One of them, is the use of an empty string in the replace function. I know on small applications, that it doesn't make a serious difference, but an empty string uses memory space (well, … | |
Re: to run the perl script from VB.NET, you need to shell to the system. I guess this works: [code=vb]dim wsh set wsh = createobject("WScript.Shell") wsh.run "c:\perl\perl.exe somefile.pl", 0, 0[/code] as for accessing the database with perl, look up the DBI Perl Module. | |
Re: Dunno why you don't just do the copy from within VB.NET (without a system call) | |
Re: I see you set con = nothing, but where do you dim con? where do you set con? | |
Re: Sometimes too, if you make an object, and don't you clean it up (*ehem*), the object will stay in memory, and windows will flip out about it. For example, if you open a new word object, and don't delete it: [code=vb]dim oApp set oApp = createobject("Word.Application") end[/code] Run that code … | |
One of the most important things to understand when automating office, is that it's heavily [search]OOP[/search], and therefore you are forced to work with objects. In order to create an object that is external to your application (for example an office application, whereas a button or textbox would be internal … | |
Re: Are you wanting to just read the data from the excel spreadsheet, and put that data on the form? Or are you wanting to [B]Embed[/B] an excel spreadsheet into the form? | |
Re: Sounds to me like something that is supposed to be installed is not. Also, you might be having a version reference conflict. Maybe the installed version of word doesn't use a specific method that's being invoked. | |
| |
Re: Some of it could be done in Javascript, and some of it could be done on a server side language, such as Perl (CGI) or PHP. Does the server that you are hosting your site on allow server side programs? | |
Re: I would personally suggest downloading the module from CPAN's website at: [url]http://www.cpan.org[/url], and download the bundle in the tar/gz format. Then, once you have it downloaded, make a temp folder of some kind, that will contain the extracted files (a tar/gz is sort of like a .zip file), then move … | |
Re: Check the sticky: [url]http://www.daniweb.com/techtalkforums/thread41057.html[/url] | |
Re: Is this a homework project? If so, what are the specs? what have you done so far? What do you need help with? | |
Re: I don't know exactly what you mean.... do you want to convert every letter to it's binary equivalent, so that A would be 1000001 (65 Dec)? If that is the case, you need to understand that your file is going to be like, 8 times bigger than normal. The reason … | |
Re: Not to replace it so much, but you could just as easily do a pop and then an immediate push. So, something like: [CODE] $retval = pop(@arrayname); push @arrayname, $newvalue; [/CODE] so, $retval will contain the last item in the array, but the array will be one element less, and … | |
Re: The question isn't detailed enough for me. I have conflicting beliefs when it comes to political views and religious views. So, it depends on which nail you are hanging this question. Politically: Kill them all! Religiously: No Way Jose' | |
Re: Visual basic (at least I know vb6 did) was under VB / Tools in the start menu. It was called the "Package And Deployment Wizard", which you can use. Otherwise, you are looking at a much (much, much) more complicated measure. One alternative, is to make say, a batch file … | |
Re: I think you have to manipulate the printer object directly..... | |
Re: Well, since I don't have much of your code, I'm going to throw a few concepts at you. I'm not sure how your network works, or if you are comfortable with the idea... but think of this.... you could create a server program that sits on the same computer as … |
The End.