|
I don't know how to write a code to create a Mail Rule in Outlook Express or MS Outlook.
If someone know, please tell me..
Thanks so much.
Please email to me: newcinc@matbao.com
(Sorry because my English)
newcinc
|
|
|
|
|
Tooltips for buttons in win98 systems appear only for the first time and then they do not reappear at all. I have also tried the showalways property.
Thanks in advance
|
|
|
|
|
Location: Toronto
QuickCAM SDK ConnectCamera2
under what circumstances will the call to the API fail? what are the common cause for this to happen? thanks.
I am definitely sure that i have my QuickCAM installed on my Windows 2000 Adv Srv. But calls to this API fails for some reason (ie. return 0).
Any idea?
norm
|
|
|
|
|
I'm working on a VB.net app which requires drag and drop between a ListView control and a Treeview control. The problem is that the selected node in the treeview control doesn't seem to change when I'm hovering over them with the item dragged.
I can't even seem to make this happen programmatically since I can't find a way to get the tree node that the cursor is hovering over (no e.Node in mouseover event
How can I make this work?
Also, I can't select a nodes by right clicking on them. I need this to display a popup menu specific to each node.
Please please help.
|
|
|
|
|
Sorry, can't help you there. I'm familiar with these controls in vb6 but haven't reach that far it .net . Have you tried looking in MSDN?
Notorious SMC
The difference between the almost-right word & the right word is a really large matter - it's the difference between the lightning bug and the Lightning
Mark Twain
Get your facts first, and then you can distort them as much as you please
Mark Twain
|
|
|
|
|
I looked in MSDN and found the member function GetNodeAt(Drawing.Point) of the treeview control.
Sorry to have bugged you people.
Should have looked there first.
|
|
|
|
|
No Prob, man! Glad that you found a solution
Notorious SMC
The difference between the almost-right word & the right word is a really large matter - it's the difference between the lightning bug and the Lightning
Mark Twain
Get your facts first, and then you can distort them as much as you please
Mark Twain
|
|
|
|
|
Hi,
I don't know if this is the correct forum, but let's try...
I have some componente written in VB.Net that is called by ASP pages.
All of them works fine except for one that gives me the "class doesn't support automation" error message. The only help that I've got was "try to contact the application vendor"...
Running it interactively, I have another error message that I'm trying to work around ("The root transaction wanted to commit, but transaction aborted"), but this is a ContextUtil problem.
All the components have the same imports and inherits clauses and same properties in the packages. Any clue?
Thanks in advance,
Molina.
Carlos Molina
carlosimolina@terra.com.br
Please do not e-mail me directly or add this e-mail address on kind of mailing lists. Thanks a lot for respecting it.
|
|
|
|
|
Does anyone know a way to capture a process? What I need to do is when a link is executed capture the link from the process. If possible, to then stop the process before it is fully executed.
I am running a utility which detects for links to other documents ete..I am using this utility to detect links in a certain program which cannot be found programatically through VBA( believe me i've tried! ). So the only other way I can think of is to execute the link, capture the process hopefully with the link and stop it before it fully executes.
Any ideas????
Kind Regards,
Rhys.
Rhys Kirk
|
|
|
|
|
hi,
i am using listview control in vb6.
i want to trap event for double clicking on a listview row or item and then open a form. how do i go about it?
|
|
|
|
|
Hi,
Place the listbox control on your form and give it a name. Then double click the listbox and you will be taken into the code window. At the top of the events window you have 2 drop down boxes; the right hand list is the events list. If you click on this list you will see that below "Click" is "DblClick". You now have the double click event for your list box.
With regards to opening a form there are numerous ways, this simplist being "Form1.Show". You should do a bit of reading of books as there are many ways of doing this depending on your purpose....
Kind Regards,
Rhys.
Rhys Kirk
|
|
|
|
|
idiot
first of all, i'm talkin 'bout listview control not listbox control.
secondly, i want to dbl click opn an item in the list view box and not on the control.
plz. don't send such foolish replies!
may be this isn't right place for u.
rishabh
|
|
|
|
|
Rishabh,
Before you go around branding people "idiots" perhaps you should find out what kind of an idiot you are talking to...A+, MCP, MCAD. It was a genuine mistake that I mis-read your post and your attitude towards my mistake clearly shows your intellect; as a result I shall not post the answer you require.
I shall however point you in the direction of some website which might help you in your request; I do not see why I should answer your problem.
http://www.planetsourcecode.com
http://www.programmersheaven.com
And please leave your childish comments for the teletubbies forums.
Kind Regards,
Rhys.
Rhys Kirk
|
|
|
|
|
hehe - and all you did was try and help the guy - keep up the good work!
Paul W
-- A wise fox has many exits from its burrow.
modified 18-Jul-18 11:59am.
|
|
|
|
|
i'm sorry for my kiddish attitude Rhys.
actually i was a bit upset and in damn bad state of mind.
so i could'nt control my attitude.
i'm actually sorry for the reply.
hoping for forgiveness!!!!!!!!!!!!!!!!!
rishabhs
|
|
|
|
|
Hello,
Is it possible to programatically change a folders properties? For example, I have a DFS folder which is currently active on a particular server, I want to be able to change the active server to another without opening up the Properties dialog box. Can this be done in VB6?
Or as another example,
I have a folder "C:\Test" which is not currently shared. Can I programatically change the folders properties so that it is now shared(providing I pass all the correct info) without using the Properties dialog?
My reason is we run on Win2K machines with some 'lockeddown' machines. Certain tabs in the Properties are not viewable to the 'lockeddown' user but I would like to change some settings every now... any ideas or help is appreciated.
Rhys Kirk
|
|
|
|
|
Hi !!!
My app, in VB6, is creating a thread to launch a batch file and waiting on this thread to be finished.
Here is the code :
Dim l_lRet As Long
Dim l_lCreationFlags As Long
Dim l_recStartupInfo As STARTUPINFO
Dim l_recProcInfo As PROCESS_INFORMATION
Dim l_recProcAttr As SECURITY_ATTRIBUTES
Dim l_recThreadAttr As SECURITY_ATTRIBUTES
l_recProcAttr.nLength = Len(l_recProcAttr)
l_recThreadAttr.nLength = Len(l_recThreadAttr)
l_recStartupInfo.cb = Len(l_recStartupInfo)
l_recStartupInfo.dwFlags = STARTF_USESHOWWINDOW
l_recStartupInfo.wShowWindow = SW_NORMAL
l_lCreationFlags = HIGH_PRIORITY_CLASS
If CreateProcess(vbNullString, "C:\MyBatch.bat", l_recProcAttr, l_recThreadAttr, False, l_lCreationFlags, 0&, "C:\", l_recStartupInfo, l_recProcInfo) Then
'Wait
WaitForSingleObject l_recProcInfo.hProcess, INFINITE
l_lRet = CloseHandle(l_recProcInfo.hProcess)
End If
My problem is that in the batch file, I lose all environnement variables (Path, SystemRoot), and I have no idea why, because in MSDN, it says that the new process should use the environnement variables from the creator of the process.
Anyone could help me on this point ?
Thank you !
Jerome
|
|
|
|
|
HI,
I have a problem of trying to store URL and retrieving it. I am currently working on a web browser. However I want to be able to control what URL is to be stored using the web browser so as to facilitate offline browsing and faster loading time if I visit the URL again.
Another problem is how am I able to retrieve the stored URL? Does anyone know how to do in visual basic or there is a close reference to it. Thank you.
=) hibiki
|
|
|
|
|
hibiki1979 wrote:
there is a close reference to it
Sure. It's called Internet Explorer.
I don't know whether it's just the light but I swear the database server gives me dirty looks everytime I wander past.
-Chris Maunder
Microsoft has reinvented the wheel, this time they made it round.
-Peterchen on VS.NET
|
|
|
|
|
Thank you for your answer.
However, what i mean by close reference to it is something that I could see the code and is written in visual basic.
=) hibiki
|
|
|
|
|
I'm not sure if it's what you want, but maybe the GetSetting and SaveSetting functions are useful? they save info in the registry - very useful for options dialogs etc.
Hope it helps
Paul W
-- A wise fox has many exits from its burrow.
modified 18-Jul-18 11:59am.
|
|
|
|
|
I am trying to write a windows application in vb.NET that behaves in a similar way to the email selection in Outlook. I am currently doing this by displaying my data read-only in a data grid, but have run into problems with the double-click event not being recognised by the grid apart from on the row header (which I don't want to display). Is there any way that the double-click event can be picked up on the data grid? Any suggestions would be gratefully received.
|
|
|
|
|
Does anyone know how I can override the Background Painting of a Textbox in VB.NET? I am currently hooking into the OnPaint / OnPaintBackground but it doesn't have any effect. Basically, I want a Gradient background instead of a Solid Color.
|
|
|
|
|
Hello All,
I wrote a com object to suck all the information and process in the dll including submission into database.
My code is:
Dim myobj As New clsMyObj
with myobj
.name = CStr(FirstName) and so on
.ConnectionString = strConnection
.mySubmission
end with
mySubmission calls the function and submit to the database.
What I gathered is that my dll is breaking because of the difference of the datatype.
My question is any way I can check the status of the myobj if the data process is not been submit? If yes How?
I can check the database state by :
Dim myconnection, stat
myconnection = As New ADODB.Connection
If myconnection .State Then
stat = true
else
stat = false
end if
Any thoughts please??
Most greatful.
Bravo Two Zero
A pen is mighter then a sword.
|
|
|
|
|
QUESTION 1: how to choose between VB.NET/C#/VC.NET?
With all due respect, VB.NET seems to have it all:
a. better code samples and documentation... too many examples: DMO/ADO/... I wouldnt want to waste time with C++ trying to figure out some API that couldnt have been so easy to program if proper documentation is available (and in many cases, such docs is available, but to VB and C# only)!
b. speed - not slower than VC.NET isnt it (since all compile to IL)?
c. best dialog editor
d. ease of use (and now it's multithreaded + object oriented)
e. most likely to attract a large user base?
VC seems like an obsolete tool. well, a low level dev tool perhaps (where u want to create buffer overflow). And VB.NET seems like to be the tool that get the job done and done fast.
QUESTION 2: according to code project and code guru forums membership statistics, it seems VC6 is still a much more popular/dominant development tool. but perhaps this is because codeguru and codeproject are both C++ sites?
QUESTION 3: any good sites for VB/VB.NET forums? downloads/tutorials?
What do u think? Correct me if i'm wrong since I do wish to pick the right tool for future development projects.
norm
|
|
|
|