|
I'm trying to automate some tasks using VB/VBA. I would like to do something similar along the lines of the article found here:
http://www.codeproject.com/tools/VssReporter.asp
More specifically, I would like the click a 'Browse' button within a Word document that would have a VSS explorer (or something like that) window come up. I am able to access the basic ssapi.dll methods, but am lost beyond the basics. Any help would be much appreciated.
|
|
|
|
|
I have some incredibly large insurance quote forms that are too big to render properly on older computers or computers on a dial-up. What is the best way to break-up the form to make it user-friendly? (similar to Geico or Progressive) Thanks for the help
rjcarney
|
|
|
|
|
I have a little application I've been developing, and it moves a set of controls around a panel using drag and drop. If the panel is set with AutoScroll as enabled, the controls can be dragged out of the default visible area. However, when the control is dragged back slightly closer to the default area, it leaps suddenly and the scroll bars vanish (when there are no other controls, otherwise they stay, but all the other controls outside of the default area fly past as the control 'leaps' to the default area.
Has anyone heard of this / encountered this? Most oblidged!
|
|
|
|
|
How can I control the IExplorer-Bar (Tip Of The Day) from within HTML or JavaScript/VBScript?
Is there a way to active or deactive this pane per combinationkey?
Thanx a lot.
Nortorfer
|
|
|
|
|
Even though I have administrator rights under a particular domain, I'm not able to register any dlls which are necessary for running a web-site. But I am able todo the same using a local admin username & password. why is it so? how can I rectify it.
Shenthil
|
|
|
|
|
That is because the account your using has admin rights to the website, NOT the server it's running on. You need at least Power User privileges to install software on the server, this includes registering controls and .DLL's.
RageInTheMachine9532
|
|
|
|
|
Hi,
I have administrator rights. Still, I have this problem.
Shenthil
|
|
|
|
|
You posted in you first message that you're using an account that has admin rights to the domain. Is this account a member of the machine's Administrators local group?
RageInTheMachine9532
|
|
|
|
|
Thanks a Lot.
Thats where the problem was.
|
|
|
|
|
i need to know how can i check for user name and password from textboxs to from a wizard generated connection i used oledbdataadapter ..database = SQL server ..
please help .
''tHe dAy V mEt , AnGeLz wIspred PeRfAcT...!''
|
|
|
|
|
HI All,
I want to open a bmp file from visual basic. I want to start it in MsPaint by only locating the file path dynamically (without using open dialog) of bmp file,,
How would i solve this problem? when i use shell command to directly open bmp file it dosn't works..
Help me out
Thnx
bye
|
|
|
|
|
What your looking for is in this[^] post. Or, if your using VB.NET, you can use Process.Start and Process.StartInfo to do the same thing. Docs on that can be found here[^].
RageInTheMachine9532
|
|
|
|
|
I have been trying to monitor the handshake (signal) from
a printer for each page it printed but i have not been
able to do so. Can any out there help me.
|
|
|
|
|
|
Hello All:
I'm using an SDK from a device that uses the USB to communicate in the SDK theres is a function that Initializes the port but there is no function or method to free the port, I already try to contact the vendor but I am not having any responce so if someone can helpme whit this, I will very tankful.
JA
|
|
|
|
|
If there isn't a function to Close/Release/Free the port, then your going to have to contact the manufacturer and find out why and what should be done. Another possibility is searching for any sample code, either in the docs for the SDK or on the web, that shows what should be used. But, as with any SDK, what the procedures are and what function names are used depends ENTIRELY on the SDK and the device your using.
RageInTheMachine9532
|
|
|
|
|
Thanks for your response, I have other question, when I exit the application the port, becomes available, is there a way to close this reference in the application?, or in the main form ?(This is were I'am using this device).
Javier Ayala
|
|
|
|
|
The port becomes available because when your app quits, it releases its resources. This is apparently causing the API to close the port it has open. Once again, it's all in the SDK, there is no standard method of talking to all devices when using an SDK. It MUST be done through calls into the SDK. But if they are not documented, your best bet is the manufacturer.
RageInTheMachine9532
|
|
|
|
|
Tanks, I already contact the vendor of the device and It toll me that It doesnt have this method, so I thing I am going to try a low level approach, what you thing?
JA
|
|
|
|
|
Probably possible, but if your SDK doesn't have to functionality to close a port that it opens, be prepared for a crash when you close the port, but not have the SDK release its resources.
RageInTheMachine9532
|
|
|
|
|
I am in the process of writing an Add-In for MS Office XP in MS VB.NET. So far, it amends the office commandbars to add an MsoPopup with two MsoButtons. My next step is to get the events for these two MsoButtons associated with a keycode shortcut; i.e., ALT + L.
I cannot seem to find any information on how this could be achieved. I have looked at the KeyBindings collection in Office, but don't see a way to attach the keycodes to the addin.
Any help gratefully accepted.
John
|
|
|
|
|
Hi
I have a MDI form where i want to display a mdi child. but i want this child to behave like 'modal()' so the user can't get out the form when it is not completed correctly.
When i import a dialog in the project and form.show it after pressing a menu item in the mdi parent ... then the dialog is only shown when i minimize the mdi parent.
What's the problem here? :s
And another little thing
I dont' seem to find a method for deleting an entry in a listview.
You guys can help?
Greetings
Jens
|
|
|
|
|
Remove listitem:
ListView1.ListItems.Remove(lngI)
As for the form:
The QueryUnload event has a second parameter called
UnloadMode. By testing this mode, the program will know what is causing
the form to unload. Then you can decide what you want to do, etc
These are the constants and a brief explanation:
Select Case UnloadMode
Case vbFormControlMenu
'The "X" button or the "Close" menu
'from the form's System menu.
Case vbFormCode
'The Unload statement is called from code.
Case vbAppWindows
'Windows is shutting down.
Case vbAppTaskManager
'The Task Manager is closing the app.
Case vbFormMDIForm
'The form is an MDI child and the
'MDI form is closing.
Case vbFormOwner
'The form is closing because its
'owner is closing.
End Select
"Since we don't know where we're going, we have to stick together in case someone gets there." - Ken Kesey 1935 - 2001
|
|
|
|
|
Hi
Thanks for the reply.
About the form i really meant ... When i want to show a form within an MDI parent (the form has property MDI child: false)... Then that form is not shown within the MDI but apart. I want to be able to show the form nice in the MDI parent without making it MDI child. Because i want to be able to 'DoModal()' the form.
I hope you understand my problem :x
Greetings
Jens
|
|
|
|
|
You can solve this problem programmatically using the mouseover event. When the mouse escapes the form: put it back on the form. As for the form itself, when you move the non MDI form reset the left and top properties to keep the non mdi form within the MDI form. Hope this helps.
Grtz Guus
|
|
|
|