Truth Is, I didn't know that ms outlook had forms :confused:
More less The ability to figit with them. Something I'll have to look up.
Comatose 290 Taboo Programmer Team Colleague
Truth Is, I didn't know that ms outlook had forms :confused:
More less The ability to figit with them. Something I'll have to look up.
Here is that source that I promised you, let me know how that portion works for you.
I believe there is a way in access, I just don't quite remember what it is. Setting the style (in vb) of the combobox to dropdown works too, I just like to warn users when they do something silly ;)
I'll tell you what, I'm about to send you an e-mail.... I'm going to need the vb source code, and the excel document (I'm not 100% sure what you are trying to accomplish.... are you getting the passwords from an excel document, or are you saving the voted data there?) Anyway, I'll drop you a line right after this, and find out what the situation is.
If I understand you correctly, you want to have a sequential file... that file will have a path in it, to a picture file, that you will load, is this correct?
dim seqfile as string
dim tmpvar as string
open seqfile for input as #1
line input #1, tmpvar
close #1
picture1.picture = tmpvar
Similarly, If You want to have 1 sequential file, with multiple paths (to different pictures), then you could read that into a collection as such:
dim xPaths as new collection
dim seqfile as string
dim tmpvar as string
seqfile = "c:\somefile.dat"
open seqfile for input as #1
do until eof(1)
line input #1, tmpvar
xPaths.Add tmpvar
loop
close #1
If I'm way out in left field, then please elaborate your question, and I'll be happy to assist you in any further help that you need.
And like I said when we spoke, Any assistance beyond this that you may need, just let me know. You have my e-mail, and I'd be glad to assist you further... I'm looking forward to helping you with the server app. A little tip, it's in the form resize event ;)
Alright, It's not "pretty" but it does what it's supposed to. You'll need to change the connection string to contain the path to the database, instead of "c:\" as I have it now. Let me know the results, and we can move on to the next phase.
Strange.... have you tried running kudzu from a command line?
In The Combo (or drop down) menu's keypress event, you trap the user typing. For example, you could, change keyascii to be the backspace character, or set the .text property to "". You could, display a message box that tells the user that keyboard input is a restricted function. The options are really endless.
I didn't Know that. I appreciate that knowledge, since 1/18th isn't as reliable of a system to the millisecond. May I ask where you found this information?
maybe post a few lines of the logfile..?
Yes, you can e-mail it to me as an attachment. If I'm not mistaken, though, the multimedia control only allows .mid, .wav, and .avi..... so something like an MP3 player, or mpeg player is out of the question with it. I'll also (when I get home from work) will send you the project I have for docking the window.
You name the radio buttons all the same thing... That creates a control Array...
then you could do something like this:
for I = 0 to optionbuttonname.count - 1
if optionbuttonname(I).value = true then
msgbox "option: " & I & " Is Selected!"
end if
next I
Hope that helps a little.
I've Got It Working, But For some strange reason the addressof function is freaking out (either addressof or setwindowlong) so I had to resort to an external DLL in order to make the playlist window move with (and be dockable) to the main window. It's a royalty free dll, that you can ship with your program... it's purpose is to provide mouse and keyboard hooks (system wide). I'm not sure if you want to rely on componants.... so let me know.
Also, Exactly What Kind Of Multi-media player? Songs? Video? Both? Are You using the microsoft Multi-media control?
I can help you with most of the problems you are encountering... however, I'm not sure about a volume control and an EQ. I tried to build an EQ once.... and failed horribly. To this day, I've been unable to figure out how to impliment an EQ with VB. A Lot of the problem has to do with checking frequencies, or something crazy. Anyway, I'll see what I can do about the moving window, display list, and display time. I'll get back to you.
Ok, And The permissions are set correctly (700, or 755 or something like that) so that the owner has permissions to delete?
Also, This seems silly that it would have any effect, but try making the shell script remove the file WITHOUT using the variable.... try it with a literal and see if it removes the file. If it does, then it's something with the variable, if it doesn't.... well, it's something else.
the html page is probably being run as "nobody" or another user of the sort. do an ls -l on the file you are trying to remove, and check the permissions, and the ownership of the file. If the permissions are not set correctly.... it won't remove the file.
I'm not 100% sure what you are doing, or what you want (I guess I don't understand autonumber) if you want me to write a function in VB for you, to generate a random number between such and such, that's no sweat. If it's something more complex, that's no problem either... but I need to understand the concept first.
txtDocumentPath = file1.path & "\" & file1.filename
;)
wow!!! i cant thank you enough that is absolutely perfect!!! well done! Sorry its a little bit late, was away for a couple of days.
(a happy)Frost
My Pleasure. If you need any other assistance, just let me know.
I would gladly accomplish this task for you, however, I don't have access to SQL. Maybe someone else here does?
I don't have vb.net. I have vb6 (which, in my opinion is better). I realize this doesn't help you with your problem, so take into consideration this idea. While logically, you would expect the LEN function to return the number of elements in your array... in my experience... it does not. (I find that it returns the length of the value of one of the index's). I think your best bet, when working with array's element counts, is to use "UBOUND" which will return the amount of elements in the array.
I'm sorry I couldn't paste your code, and run it... so that I could further pinpoint your particular situation, and I hope that what I have offered gives some help.
You should be able to use some kind of control. I don't remember if there is a toolbox control for viewing office apps with VB or not.... you can also use scripting to do this.... but that will probably load word. There is a way though, using com objects.... I'll let you know if I find anything more.
I'm not seeing the code in your timer.... more to the point, I'm not seeing a timer. The solution, as I see it.... is placing your code
SELECT dbtask.TaskNum, dbtask.txtstatus, dbtask.Operator1, dbtask.Jobtype, dbtask.Reqby, dbtask.Sjob, dbtask.group FROM dbtask WHERE (((dbtask.txtstatus)<>"Finished") AND ((dbtask.group)="C"));
I think it is.... in your timer event. Basically, Redo The Task, Every Time The Timer Event Fires. You might have to clear the grid first... and then re-put everything back on it. So, Every time the timer fires it's event.... the grid gets cleared.... and then re-populated with whatever it is you are trying to put in there.
I know in XP (and just about any windows version with a "task manager") if you kill explorer.exe it takes out the start button, and the desktop.... but you could still click file, new task (Run), and type in explorer.exe and it will reload. So, you could, essentially kill explorer.exe, hang out at your system for a while (keep playing solitaire?), and then from task manager, re-run it, and it will carry on like nothing happened.
Also, There are some programs out there, (known as shells) that replace the "windows interface" (explorer.exe) with their own program. I think I've had blackbox, or afterstep [called light (or lite) step] that made my windows box look like a unix's xwindows interface. Don't be confused.... Explorer.exe is just another program.
I'm not 100% sure if you can do it manually. Such as open a command prompt, and use a copy explorer1.exe explorer.exe..... you might be able to just overwrite it... or you might have to open task manager, processes, and stop explorer.exe from running, and then switch them over.... Maybe A Safemode will help?
Boot Into An XP Recover Console (dos prompt like thing), and do a:
FIXMBR and probably FIXBOOT too. That Should take care of things :)
1) The ability to download or install things without the Admin's password
2) Run
3) Task Manager
4) Change password
5) Lock the computer
6) Change monitor settings (screen resolution, etc. but leave them the ability to change the wallpaper and the screensaver)
nikkisboricua
1) Still Researching, and making wild attempts at coding
2) Complete
3) Complete
4) Complete
5) Uncertain of meaning
6) Complete
what do you mean .... changed? You altered the EXE? (if so, check out: http://www.users.on.net/johnson/resourcehacker/), or you went into the registry and changed which program loads as explorer?
I'm not certain I know how advanced your class has taken you, so I'm going to give 2 suggestions....
1) [moderate]: A Docter's Office Patient Database/Scheduler
-Tons Of "Branch Off" ideas here
-Keep Track Of Patient Visits and Problems
-Calander With Docters Available Appointments
-etc, etc, etc
2) [Ehem]:
A Program That will Accept a URL, get the HTML from the server,
parse out the Anchor Tags (and Images?), and display the URL
of the anchor (in say, a listbox), and the text of the Anchor
(in another listbox). Watch Your Step for javascripts in the
Anchors... onClicks are not just for buttons :(
As An Added Bonus, make the javascript transparent (should it
be a window.location change in the onclick of the Anchor, Rip
apart the anchor, the javascript, and display the final
destination's path).
Hope it's at least a little helpful.
Thats Awesome! I'm glad it worked!
And The: alert("Pravilen vnos!"); works fine right? It just doesn't redirect the site...
something else to consider... instead of using an "onsubmit" with a submit button, consider using a regular button, with an onclick event... that way you don't have to do a "return function();" You could call the function with the button, and then do a document.formname.submit(); in the javascript...... let me know your thoughts.
Also, Have you considered trying "parent.location" (or maybe it's parent.window.location)
and window.location is not working? post me the code, or link me to your site... or both.
Depends entirely on my mood as to what I listen to when working at my computer. While coding, in order to actually change into a "code mode" status, I have to have music. I don't listen to country or anything, that would just distract me. I can code no matter what is playing, but I can't get really into being focused about it without some good tunes.
Alright,
Then That seems to be the best way to go for what you are doing (sticking the password in an external JS file). If You need any other help, just let me know.
You can do that anyway. If someone just views source, and then looks at the path to the external file, they can merely stick that in their browser as a URL, and open it or download it. Your Very best bet, is if you have server side access (for example, you can use ASP files, CGI files, PHP, or something along those lines). This way, the password is stored on the server, and never actually sent to the browser. With javascript, EVERYTHING gets sent to the browser, and is readable by it. There are TONS of free verification CGI's and ASP's, PHP's etc, etc. Also, should you need it to be custom built for some reason, let me know, and I can help with that also.
Sometimes God's Power is all it takes ;)
Does other javascript code work in the external file, within the page. (for example, have you tried making a function in the .js file, with nothing more than say, an alert with a message of test, and tried calling it with the page, just to see if the page is importing the external file?)
top.window.location="mail.html";
no?
Public Function B2D(BinVal As String) As String
Dim iVal#, temp#, i%, Length%
Length = Len(BinVal)
For i = 0 To Length - 1
temp = CInt(Mid(BinVal, Length - i, 1))
iVal = iVal + (temp * (2 ^ i))
Next i
B2D = iVal
End Function
Alright, I've Got It:
You Need To Add A Plain Ole Standard Module (It's A Good Practice), inside of the module add this:
Module Code:
Public Declare Sub GetSystemTime Lib "kernel32" (lpSystemTime As SYSTEMTIME)
Public Declare Function SetSystemTime Lib "kernel32" (lpSystemTime As SYSTEMTIME) As Long
Public Type SYSTEMTIME
wYear As Integer
wMonth As Integer
wDayOfWeek As Integer
wDay As Integer
wHour As Integer
wMinute As Integer
wSecond As Integer
wMilliseconds As Integer
End Type
In your form load event, You'll need this code:
Form Load Code
Dim GMTime As SYSTEMTIME
Dim TheTime As String
GetSystemTime GMTime
Text1.Text = GMTime.wHour & ":" & GMTime.wMinute & ":" & GMTime.wSecond & "." & GMTime.wMilliseconds
For x = 1 To 10000
Print "Frost"
Next
GetSystemTime GMTime
Text2.Text = GMTime.wHour & ":" & GMTime.wMinute & ":" & GMTime.wSecond & "." & GMTime.wMilliseconds
Timer1.Interval = 1
Label1.Caption = ""
And Lastly in your timer event:
Timer Event Code:
Dim GMTime As SYSTEMTIME
Dim TheTime As String
GetSystemTime GMTime
Label1.Caption = GMTime.wHour & ":" & GMTime.wMinute & ":" & GMTime.wSecond & "." & GMTime.wMilliseconds
So Far, This works flawlessly for me. Let me know how it works for you.... if you need an additional help, let me know.
Private Sub Form_Load()
Text1.text = time
for x = 1 to 10000
Print "Frost"
next
Text2.text = time
Timer1.Interval = 1
Label1.Caption = ""
End Sub
Private Sub Timer1_Timer()
Label1.Caption = Time
End Sub
It depends on the operating system, in regards to your path. If you are using NTFS, chances are that they whole entire Path is acceptable. If you are using FAT or something along those lines, then the chances are good that you'll need to ~ them. I suggest manually trying it in the registry, with one way, and then trying to see if it loads correctly, if not, try the other way.
As For -nohome, there has been a ton of different explanations, but it would be a blank white page. some people claim nohome is just about:blank, otherwise claim it's...... a little something more on the dark side.
I'm not 100% sure that -nohome is going to work with your program, even if you are using VB's web browser control. Because you are not passing paramaters (-nohome) to the object (the browser control), you are passing it to YOUR EXE.
So, You'd have to check something about passing parameters to your program, and then passing those to your control. Basically, something a little more to the point would be:
browser1.navigate "about:blank"
use that in your form load, or, whenver the browser is supposed to show. That will do essentially the same thing.
It sounds to me like some messed up DLL files. Truth is, I have no idea how to go about fixing the problem, but in my experience, the only thing that has helped me to overcome such problems, is to remove XP (fdisk, delete the partition, make the partition, format the drive, and reinstall XP). Then install VB.NET again, and it should work fine.
Another attempt at a solution, is to try to download the VB.NET dll's, and overwrite the current ones with the former.
Patience is a virtue,
I'm sorry I was unable to get a response, after work that day, but my system was fritzing, and would only load certain pages. After spending a signifcant amount of time, trying to get my system functional again, my visual basic didn't work. I'd hate to have given you poor guidance. No Response, is better than a wrong one, in my opinion.
I'm sorry,
I don't use PHP as a general rule, and therefore, I have no idea how to go about using sockets, and LWP and the like. If you needed it in perl, that would be no problem, however, There are others more proficient in PHP that can give you help.
;)
HKEY_CLASSES_ROOT\http\shell\open\command
In VB or VBS, This is real easy to do.
I'm guessing this isn't a ... REAL story.
I'm sure if you google it, there is 1 or 2. The problem is this, though. The dll's that you create with VB are not "true dll's", they are "activeX dll's", and it's sort of complicated, but it has to due with "Entry Points". So, if you need to "up your search" on google, do a search for say: +"visual basic" +"activex dll" on google.... maybe it will come up with something.
I think the goal is to be able to CHANGE the value of the timer control, to whatever is in the textbox.... so, if the textbox says "10" they want it to be 10 seconds before the timer event fires. You're 100% correct (which I missed) about Clock and digital... good catch. Rate, Still, is a VB command, and objects should not be named the same as internal commands. Because then you would have to explicitely call it with the entire path (formname.rate.text).