|
Yes it will, I have had trouble before with app's built on a 2000 box, if your target is XP, I would suggest that you build it on XP, in any case, that may very well be the whole problem.
|
|
|
|
|
Hi,
I'm back apologies for dropping off the planet but meetings and travel kicked in.
The current situation is;
The problem appears to be that all client machines lack the stdole in the assembly directory of the c:\winnt or c:\windows.
From what I read these should be installed with the minimum install of office 2003 but this isn't happening (I am waiting on confirmation from our IT people as they setup all installs remotely over the network.)
Installing the .Net redistributable and XP PIA's doesn't seem to solve the issue as the register.bat for the PIA's requires VS.NET command prompt.
I am trying to following the instructions given for inclusing PIA's in the deployment of the setup project but as yet have had no luck. The project builds but when it is installed it doesn't create stdole in the assembly directory.
Any advice????
|
|
|
|
|
I was wondering if anyone knew how to download attachments from email to a folder using VB.net. What i'm trying to do is take an email, read or unread, from my Inbox, and download the attachments from the email into a predetermined folder. I cannot find any help doing this in the MSDN library. any ideas oh programming guru's? thanks!
megadith
|
|
|
|
|
HOW TO: Retrieve Unread Messages from Inbox by Using Outlook Object Model in Visual Basic .NET
http://support.microsoft.com/?kbid=313795
|
|
|
|
|
I've found that one before, but it doesn't mention anything about attachments. thanks though. Anyone else have any ideas? thanks!!!
|
|
|
|
|
you mean something like this?
Set oAttachments = oMsg.Attachments
For I = 1 To oAttachments.Count
If Not IsNull(oAttachments(I)) And oAttachments(I) <> "" Then
oAttachments(I).WriteToFile (App.Path & "\NewAttachments\" & oAttachments(I))
End If
Next
|
|
|
|
|
We have converted a VB application to VB.Net. It uses SQL server, sockets and a third party active control. This desktop application would execute fine in all developers machine and in any machine which has Visual Studio .Net installed in it. But wouldn't execute on users machine(has .Net Framework) and gives this message :
"Common Language Runtime Debugging services"
"Application has generated an exception that could not be handled."
Any responses is appreciated, thanks.
|
|
|
|
|
we'll need more of the error info,
adm errors can be as simple as a registry setting missing to a the wrong version of an assembly, and everything in between.
What's the error code in the applications log file?
|
|
|
|
|
Thanks for the feedback, I got it fixed by creating a Setup and Deployment project. It gave the Setup files similar to install shield and when I installed that, it fixed the issue and I'm able to run my application.
|
|
|
|
|
I have created a application.I used MDI form in that there is some child form.I am opening a form in that window, the form size is Normal and I am opening another form that is Maximized window. Both window are open and the window size of one window is normal and another one is maximizes. Mow my focus on maximized window, Now I am changing the focus to Normal it become maximize atomatically. But I do't want, I tried to solve this problem but it is not solved till.
Plz help me in my application to solve this problem.
pkc
|
|
|
|
|
I can't understand what you said, but I'll take a stab at it...
You have an MDI Parent window with two child windows, one normal and the other maximized. You want to show the normal window AND the maximized window at the same time, but have each window show in it's set state, normal and maximized.
There is no way to do this. If you maximize one child window, ALL child windows will be displayed maximized. If you set a child window to normal, then ALL child windows will be displayed normal.
The only way around this is to configure the window you want to be maximized as a normal window instead, then set that windows size to match the client area size of the MDI Parent. You'll also have to write code in the Parent windows Resize event that will go through the child windows and resize them based on the size of the Parent window's client size.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
I’m trying to store a string in a string variable and the string itself contains quotes ("). Example
Dim LongSentence as string<br />
<br />
LongSentence = "This string contains "quotes" within it."
VB.NET dosen’t seem to like the quotes within quotes. Can anybody tell me how this can be written?
Thanks
Brad
|
|
|
|
|
Hmmm...I think I just figured out the answer to my own question :
Dim LongSentence as string<br />
<br />
LongSentence = "This string contains ""quotes"" within it."
|
|
|
|
|
Correct.
'Howard
|
|
|
|
|
Hi Everyone
Problem No.1
We are trying to capture Video capture with Driver Microsoft WDM Image capture 32 and tested in Windows XP, But cannot run ;Pin Windows 98. Also I checked up with Microsoft KB Article -192112. And Then updated Windows 98 Second edition. Still it does works windows 98 PC.
Problem No. 2
Image File compression for motion detection technic, How to compare the JPG/BMP file in VB6.0, to identify the motion. and then store it it in AVI format, How to follow the available standards to do compression?
Thank you
|
|
|
|
|
Hi Dave,
What type of objWmiDataBlock object and its properties? Was it delcare as Type?
Can you explain more details of your code? I'm just starting of study WMI.
Thanks alot.
|
|
|
|
|
One more problem that when using WMI to getting information of remote computer, we need permission to do that on remote computer.
What is your solution?
|
|
|
|
|
You need to supply the remote machine with an Admin username and password. If your machines are part of a domain, this won't be a problem. The same Admin account and password should work for every machine in the domain. But if your machines are part of a workgroup, each machine will have it's own Administrator account and password.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
L D L P wrote:
objWmiDataBlock
This is just a custom structure I created, nothing special about it. It's just a collection of Strings and numeric types that I used to pass a large amount of information back to the function that called this code.
I'm hardly a reference for WMI. The best method to use to learn about this would be to start writing your own sample code to test what your thinking against what is documented.
Treat WMI as an SQL database with lots of tables and things will become a bit clearer.
This[^] little gem from Microsoft is a MUST for exploring and understanding WMI.
The docs for WMI start here[^]. You'll want to pay particular attention to the Scripting portion of the docs. The docs comes with plenty of examples.
You might also want to play with the Scriptomatic tool[^] also.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hi Dave,
I already mail to you, but i have a short question.
How can i retrieve current logged user name (and password if possible) of a remote computer?
|
|
|
|
|
You can do this only if the remote machine is Windows XP or Windows 2003. Again, WMI...
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Actually I need Drill Down Crystal Reports.
Ex : 10 Mater Recodes are there.
TEST 1
TEST 2 liket that.
If I click TEST1,It should display another report TEST1 Details.Help me Please!
radha
|
|
|
|
|
Hi, I have an access database which contain one table with 3 fields. The structure below is:
tblPeriod
Name DateHired DateRetired
.... ......... ...........
.... ......... ...........
.... ......... ...........
.... ......... ...........
The ... represent the information of record that user supply the information. My question is: how could I calculate the period for each record (mean the duration that they work for the companay, simple arimathic is DateRetired - DateHired) in form. Which function should I used to calculate it?
A thousand mile of journey, begin with the first step.
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
I'm not aware of any function that would automatically do this for you. I think i've seen you post before using vb .net. But for either vb6, vba, vb .net you would have to create your own function that would take this. I use access in my apps, so i know some programming side, Again I don't know of any thing that will automatically take care of that.
|
|
|
|
|
I have check the book Visual Basic 5 Night School by Greg Perry and found the fuction to calculate the time DateDiff() . I think this function might be useful for me to use in access but I did not try yet.
A thousand mile of journey, begin with the first step.
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|