|
I'm assuming by "VB MACRO" you mean VBScript. In that case, click[^].
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
I guess its not script. But please clarify me onething. Is the code which we write in outlook macros (Microsoft office outlook objects-ThisOutlookSession) is VB Script ?
Regards
Anniyan
|
|
|
|
|
Inside Outlook (not Outlook Express!), and all the Office applications for that matter, the language is Visual Basic for Applications (VBA), not VBScript. The two languages are closely related, but there are differences between them.
If you wanted to run an external application, you'd have to have the Windows Scripting Host do it for you. In your VBA Code Editor, go to Tools, the References (I think!), and set a reference to "Windows Script Host Object Model". The you can write code like this to get an external app to run:
Dim ws As New WshShell
ws.Run("notepad", 7, True)
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hi!
I'm writing a program that uses a drawlines method to plot a series of xy point in a PointF Array. I have checked the points in the array and they are all fone, but as soon as I try to plot, the X coordinate gives an overflow error. {PointFArray.X = 1.#INF}. What could be the problem?
Any help or advice would be much appreciated!
Thanks
Siege
|
|
|
|
|
i am writing a program for pocket pc. now facing a problem, when a user firstly log in the pocket pc, he needs to enter a user name and password, so now i want to program about "creat new acount" part, i want the ppc to remeber the acount, so next time when user log in, the ppc can recognize him....
thanx
go ahead...do best on my works....
|
|
|
|
|
I probably have missed what you're trying to do, but isn't this built into Windows already?
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
no...i would like to create a database program which can be used to store the acount,so can solve the log-in part problem,is that properly?
go ahead...do best on my works....
|
|
|
|
|
Login to what?
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
like when turn on the pocket pc, need to enter password and name to enter the system ,go log-in to the mainmenu.....
go ahead...do best on my works....
|
|
|
|
|
There a couple of problems with this.
First, what's stopping someone from just "Ending" your app when it starts? Nothing...
Second, there is no increase in security that your app could possibly offer on PPC. So what's the point?
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
en....i would like to creat a log-in page in pocket pc for users, but i do not know when the user first time log-in, he needs to creat a new acount,so my question is how to store the information...?
thanx
go ahead...do best on my works....
|
|
|
|
|
Storing the information is the easy part. Getting this to work like a Login on the full-sized version of Windows is the near-impossible part. Since Windows CE doesn't implement the security you find in full-sized Windows, you really have no use for a login. Great, so the person can login and get past your password thingy. You can't provide secured access to any of the resources on the machine and can't implement any kind of profile so each user can save their own settings. Everyone will be using the same profile, so what one user changes, the other users see.
So I ask you again, what's the point?
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
pocket pc ....
link database to form windows application...
should be like this point
tnanx
go ahead...do best on my works....
|
|
|
|
|
I am developing a simple Recipe Manager. I know how to be able to select an item in a listbox and display other relevant information using a sortedlist. Could you do the same with an arraylist? With the sorted list I loop through every dictionary entry in the sortedlist and add the key to the listbox. If you need code examples on how I was getting the info our for the sorted list, let me know and I'll post it as well as the listbox selected index. Just want to be able to have 2 different recipes have the same "Title". Thanks!
|
|
|
|
|
I am using a Recipe object with title, ingredients, and instructions attributes if that helps.
|
|
|
|
|
I don't have any code to put for trying to use an arraylist because I had to start over. Or is there a simple fix for duplicate names in a sortedlist?
Thanks!
|
|
|
|
|
Hey All,
I stuck in a problem
That how to trap the selected row data & then send that data to the next form
In Windows form Datagrid there is no concept for the Template column to add checkbox column etc.
Then How I Can Trap the selected Row of datagrid
Plz Help
Thanks for this kind Help
Hema Chaudhry
|
|
|
|
|
How about:
selectedRow = datagrid1.CurrentCell.RowNumber
Roy.
|
|
|
|
|
thanks for this Prompt & kind support
Hema Chaudhry
|
|
|
|
|
I have created a usercontrol in vb.net, but i want the ability to add other controls to this using the form designer?
This already happens in visual studio, for example when you drop a panel on the form and then drag and drop another control, button, panel, anything into that panel in then adds it to the control.
how can i add this function to my control?
e.g
Private Sub DragDropControl_DragDrop(ByVal sender As Object, ByVal e As System.Windows.Forms.DragEventArgs) Handles MyBase.DragDrop<br />
<br />
'gets the control<br />
<br />
End Sub
Private Sub DragDropControl_DragEnter(ByVal sender As Object, ByVal e As System.Windows.Forms.DragEventArgs) Handles MyBase.DragEnter<br />
<br />
'reads the data and check weather this type of control can be dropped<br />
<br />
End Sub
thanx
|
|
|
|
|
So, you want to drag a control from somewhere on your form, onto your usercontrol, at design time? Do you just want it to be visible there, or do you want it to be part of the control?
Normally, the drag an drop features for controls handle data from one control to another. What you want to do can probably be done, but it may take some work.
Roy.
|
|
|
|
|
Basically my usercontrol is like a toolbar control that you would move other controls onto, but like you say Roy yes the controls added would have to then become attached or added to the main base control.
|
|
|
|
|
OK. What you will need to do is, as the control is dropped on your user control, identify what type of control it is.
I assume that you want this control to be persistant (i.e. still there when you restart your app later). If so, you need to store a list of controls to be populated on your user control. You could store the list in an XML file, or in the registry.
Finally, you need to dynamically create the controls; both at startup, and when a new control is added. Remember that you are not actually dropping a control on your usercontrol, you are identifying the type of control.
Sorry is this is kind of vague. I have not actually done this. But this is how I would try it. Hope this helps.
Roy.
|
|
|
|
|
Hi guys :
which are the differences between ServicedComponent(com+) and ClassLibrary(component)?
are they incompatible??????
thanks
|
|
|
|
|
HI,
Do any one know how to use a user control of vb.net in vb6.0
and also i want expose all its events to vb application such as click event of that user control
How can i do this ,
If any one knows please help me......
Thanks
Animesh Misra
-- modified at 2:31 Thursday 15th December, 2005
|
|
|
|