1,372 Posted Topics
Re: The question is, do you want to build an app that does it for yourself, or do you want to find an app that already exists to use for yourself? That would also clear up where this belongs in the threads too. | |
Re: [QUOTE=s-sriram]Can someone help me? I am looking to access the properties of system tray processes in Windows. An example of what I am looking to do might be to maximize an application that has been minimized to the system tray? Can I do this in Visual Basic or VB script … | |
Re: [CODE] Dim aButton As New System.Windows.Forms.Button() FormName.Controls.Add(aButton) 'change FormName To Whatever You Named Your Form [/CODE] | |
[CENTER][SIZE=5][B]Catching Up[/B][/SIZE][/CENTER] In The Previous Tutorials, we have covered a lot of information. We've gone over a few of the functions of the CGI.pm, and and figured out how to retrieve information from a web page form, submitted by the user. However, reading this information, and thanking them by name … | |
Re: The TO line of a VB Form? | |
Re: Wow. I'm not even sure I understand what you are asking. Is it possible to zip and attach the project? | |
Re: [QUOTE=goaldrush] Oh and one other thing. I know a lot more about vB.NET than what you do. I passed the exam last year. So I know what I am talking about.[/QUOTE] So because you passed an exam last year, you obviously know more than he does about it? | |
Re: you could try checking out this code: [CODE] <SCRIPT language="JavaScript"> <!-- if ((screen.width>=1024) && (screen.height>=768)) { window.location="highres.html"; } else { window.location="lowres.html"; } //--> </SCRIPT> [/CODE] | |
Re: I'm not sure about the entire question, but it would be simple to keep track of how many still need to be shipped. Just change the instances of order No so that it subtracts the amount sent, and rewrites it's value to new amount needed to send. I'm not sure … | |
Re: Ok, I'd like to try to help. I have built a program that will help to identify the problem. If you go to: [url]http://www.aftermath.net/~coma/ModScan.zip[/url], download that, install it... and then run it. When you run it, it will create a log file, on the root directory of the c drive … | |
Re: Have you checked out this tutorial: [url]http://www.timesheetsmts.com/adotutorial.htm?[/url] | |
Re: I know that anything is possible, but I have no idea how you would go about accomplishing such a task. If you know the format, you could read it as binary, and save it in the specified format, but I don't know what that format is. | |
Re: In The Declaration Section Of Your Form (Or In A Module) Add [CODE] Dim CCount as Integer [/CODE] Then in your form_load (or button, or wherever) add this: [CODE] CCount = CCount + 1 load shapename(CCount) shapename.Visible = true [/CODE] That should work. Keep In Mind You'll Probably Need To … | |
Re: Do you have code that actually works with the excel spreadsheet, and you are having trouble figuring out the colors, or are you having trouble figuring out how to work with the spreadsheet period? | |
Re: If you set the database objects that you use to reference your database to nothing, and then whenever you want to have them refresh, just recreate the objects, and pass it another query. That should effectively load the new information. | |
Re: I think that what you want to do, can not be done the way you want to do it. I researched a bit on using access with a Perl CGI, and this seems semi-possible, if the server that is hosting your CGI is running their server in windows with active … | |
Re: Well, Think about it like this... The Date, in the format of dd/mmmm/yyyy is going to try to format the date as something like this: 01/0004/2005 (most likely). Now, another option is, have you tried to remove the format$? So it would be set to something like: Values(i, 1) = … | |
Re: Sorry RS.... the problem with that is that is would violate security measures that have been built into the browsers. I suppose if the users turn their security settings down, this message won't come up, but developers decided that it was too much of a risk to security to offer … | |
[CENTER][SIZE=5][B]Prelude[/B][/SIZE][/CENTER] In the last tutorial, we covered a basic skeleton of a small CGI in Perl. It didn't do much, other than check if the user tried to go directly to the CGI, or if they were submitting information to us through a page. This doesn't do us a whole … | |
[CENTER][SIZE=5][B]Prelude[/B][/SIZE][/CENTER] Perl is an excellent language, versatile, powerful, and not too difficult to learn. I'm not going to go into detail about Perl, and explain why we have to put #!/usr/bin/perl on the first line, or how using modules work, but I will explain how to check for information from … | |
Re: Just A Thought Here, Couldn't You Get The Referer With Javascript (like document.referer), and doesn't it return an entire URL? If this is so, couldn't you split the string (or use substr) and grap the protocol, and check for http: or https: and act accordingly? | |
Re: Have you checked to see that directory.getcurrentdirectory is returning the proper path, or returning anything at all? Also, After some long hours of headache and painful study, Visal and I found that passing data to WSH's Run Method that contains spaces (in VB6, We Tried App.Path [I don't think this … | |
Re: I need a little more information than that! Mouse Off? Like, when the mouse leaves the form? | |
Re: Well, The main idea behind what you are trying to do is completely MDI. However, I'm going to treat you to a little gem, that, depending on the app (since you are using your own forms, it's no problem) can cause troubles. This is a ... technique of sorts, that … | |
Re: because your or comparison is flawed. When you do a comparison, you have to give it multiple conditions, not multiple options of the same condition, so: [CODE] if text1.text = "hi" or "bye" then ' <-- improper testing condition [/CODE] However, [CODE] if text1.text = "hi" or text1.text = "bye" … | |
Re: He's right. HTML Is static, it will require javascript. It's real easy though, in the input tag, it would be something like this: [CODE] <INPUT TYPE="TEXT" NAME="cool" onFocus="javascript:this.value = '';"> [/CODE] | |
Re: As far as I know, Javascript is a CLIENT side scripting language. You Can Not (in any way that I am aware of) use it to store things on the server side. If you want to do that, you might want to look into CGI, or PHP (or ASP). | |
Re: [QUOTE=JBD2]Thanks, but one more thing..."Now enter your code" which code is that? Like the code that opens both of them or what? Thanks.[/QUOTE] Yes, it would be the code to launch each program. I actually think what he was trying to do is to have your project load two forms, … | |
Does Anyone know if such a utility exists in Linux? A picture viewer that runs in text mode? I like to use links sometimes, and hate having to switch back to an Xinterface in order to see an image.... is there a textbased picture viewer? | |
Re: Yes, You can have multiple sub-routines call a function. | |
Re: I would use a couple of arrays. I'd use 1 to store the ID, and however many others for each of the textbox's. So, if you have 3 text boxes, (not including the ID) you would have 4 arrays. 1 for each text box and 1 for the ID. Then, … | |
Re: Do a google search for a free "proxy" server program. Wingate used to be a good one, don't know if it's still around though. Be Forewarned... sharing a dial up connection is a horrible idea anyway, since the bandwidth is so limited. It will slow your connection down noticeably. | |
Re: In my personal opinion, Not dignifying them with a response is better than a response. Were they wrong, and out of line. Absolutely. The proper way to go about the situation would be to have sent you a private message, via e-mail, or some other form of communication. However, a … | |
Re: Personally, I'd go after building something like this with a tool like full-fledged VB (instead of vbscript), as VB gives you better control, and would simplify some of the tasks at hand. I believe It can, however, be done in VBS.... 1) I don't know if gpedit.msc goes through any … | |
Re: I've never messed with word macro's, but I know a little bit about VB. Can you add VB source code to a macro? | |
Re: It's called "incrementation." It's something that has been in programming for a very long time. Even as low level as assembly language, has a special opcode for incrementing variables (INC in asm). This is the process of simply adding one. So, if the value of count is 1, then after … | |
[B]A Little Rant[/B] I love [URL=http://www.mozilla.org/products/thunderbird/]ThunderBird[/URL], I really do. I only have one problem with it. I have not yet found an e-mail client as good as thunderbird, and every e-mail client that I have entertained have all come short of one specific attribute that I really like. You can … | |
Re: [QUOTE=manclarky]I created a macro designing a pivot table. when i copy the code into the VB application the pivot table shows a count instead of a sum!!! Any ideas why? Cheers[/QUOTE] Hmn, Post the relevant code? | |
Re: I think if you store the ocx on a public drive, you can do a: regsvr32 H:\Path\To\whatever.ocx obviously H: would be the public drive. Have you tried putting on a public drive? | |
Re: Let Me know if this works for ya [CODE] dim fso dim f Set fso = CreateObject("Scripting.FileSystemObject") Set f = fso.GetFile("C:\boot.ini") CreatedDate = f.DateCreated LastAccessed = f.DateLastAccessed LastModified = f.DateLastModified FileSize = f.Size msgbox "Created Date: " & CreatedDate msgbox "Last Access: " & LastAccessed msgbox "Last Modified: " & … | |
Re: This can most certainly be done in VB6, doing this in VBA (such as access, or VB within Access) on the other hand, is a whole different story. | |
Re: Are you double clicking on the form1, or are you opening visual studio, and then opening the form? There should be a project file (which is the name of the project.. project1) | |
Re: Just Replace "commandname" with the path and exe that you want to run, and replace /a /b /c with any command line switches that you have. [CODE] dim wsh set wsh = createobject("WScript.Shell") wsh.Run "commandname /a /b /c", 0, 1 [/CODE] | |
Re: [QUOTE=NewVBguy]Hi, I'm trying to make a backup program but suddenly i got stock with this problem. I want to search all the .txt file in my drive c: and make a zip file on their respective folders. Can somebody share a code for this one? Thanks in advance. Newvbguy[/QUOTE] Ok … | |
Re: You mean of the VB form that you are using? Can you give me a few more details? | |
Re: You name the radio buttons all the same thing... That creates a control Array... then you could do something like this: [CODE] for I = 0 to optionbuttonname.count - 1 if optionbuttonname(I).value = true then msgbox "option: " & I & " Is Selected!" end if next I [/CODE] Hope … | |
Re: Strange.... have you tried running kudzu from a command line? | |
Re: I find that VB.NET is a bit slower loading and running than is VB6 (which is still slow compared to lower level languages). I also find VB6 to be more structured in a logical order, and the keywords and property names seem to fit better than in .NET. This is, … | |
Any idea's about a javascript function, that will move you to specific line number in a textarea? I'm making a mini-page where I can edit text/perl files on a server. I want to be able to plug in the line number that causes the error, hit go, and have the … |
The End.