|
Hi all,
which toll/add-in (like VBDOX or doxygen) do you use to comment your source code and generate the documentation for your VB2005 projects?
Thanks in advance,
Marc Soleda
... she said you are the perfect stranger she said baby let's keep it like this... Dire Straits
|
|
|
|
|
You might want to take a look at the VSdocman 3.0 addin for Visual Studio. It parses your source code and generates MSDN style documentation, that is completely customisable....
There web address is: www.helixsoft.com[^]
Regards,
Martin
|
|
|
|
|
Finally I'm using this Sandcastle GUI[^] that reaches what I was looking for.
Thanks,
Marc Soleda
... she said you are the perfect stranger she said baby let's keep it like this... Dire Straits
|
|
|
|
|
Hello,
How can i compare the pixels in an image to the pixels of an other image? (sample code pls??)
Thanks, Zaegra
--Zaegra--
|
|
|
|
|
Try openning the two files in binary mode (I think) to read them byte by byte and compare. A coworker made image format converters using this method.
What is it that you want to do if the data is/not equal?
|
|
|
|
|
Well, i want if the image is not equal then i want to add it to an imagelist. As soon as it is equal, i want to write a registery setting that sais "True".
--Zaegra--
|
|
|
|
|
Try looking up "filestream walkthrough" in your help menu. (I use VB.Net 2003) It gives an example on how to read files.... Or GOOGLE it. "filestream" is the method you'll need to work with I think.
Hope it helps.... Happy Hunting.....
Now back to my project.....
|
|
|
|
|
how to create custom controls using xaml?
|
|
|
|
|
Well, I haven't done anything in Windows Presentation Foundation yet, but this[^] is where I'd start looking.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
I have an array called marr() its initialized with no parms
and inside a for loop on vb6 i have t his syntax
count = count + 1
ReDim Preserve marr(0 to count)
marr(count) = var20
my problem is that i dont know how to write a .net 2003 version
of that marr(0 to count) i have tried lookin online but havent
found an answer... i appreciate any help... thanx in advance...
Some times I bite way more than I can chew ... thats why i always buy cheese nips to keep me munching from dusk until dawn
|
|
|
|
|
Instead of Redim Preserve you could use Array.Resize(marr, count)
Regards,
Martin
|
|
|
|
|
ReDim Preserve still exists, but you've used the old VB6 syntax. All arrays in the .NET Framework start with index 0, or 0-based, so it's unnecessary to specify it in the new dimension parameter. Just use:
ReDim Preserve marr(count)
ReDim docs on MSDN[^]
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Please don't cross post. Choose the forum for the language you're using, and ask there.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
If i have the following properties enabled....
Form autosize = True
Form maxsize = True
Form minsize = True
Does this mean that my Form will goto the maxsize of the users screensize and not beyond.?
|
|
|
|
|
No, you have to set the WindowState to Full .
Trinity: Neo... nobody has ever done this before.
Neo: That's why it's going to work.
|
|
|
|
|
WindowState has no Full enumeration member, it's WindowState.Maximized.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Sorry, I'm thinking of the WMP WindowState.
Trinity: Neo... nobody has ever done this before.
Neo: That's why it's going to work.
|
|
|
|
|
The Form.MaximumSize and Form.MinimumSize properties do not accept a Boolean value, so that code has no meaning.
If you want your form to fill the screen all you have to do is set its WindowState property to Maximized :
myForm.WindowState = WindowState.Maximized
Docs on Form.WindowState[^].
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Hi all,
In vb.net given code(http://www.codeproject.com/vb/net/AutomatePhotoshop.asp) for incorporating photo shop application is very cool. In our project we required is the one to load the image adjust tools from toolbox ---crop tool,brush tools , magic wand tool etc... . Can any body help me in this area will be very help ful for us to proceed forward in the project. Thanks in advance.
Regards,
Kamal.
|
|
|
|
|
Hi,
I would like to automate powerpoint using visual basic. So for that i have created an add-in and that add-in will keep track of the events that is happening in the slide show. But when a click a slide i could able to keep track of the slide change only. Even an animation can occur when the user clicks. So an animation can occur either automatically or through events. If it is through events it can be either mouse or keyboard events. If it is using mouse event then the user can click to go to next animation or either choose next or previous my right clicking the during the slide show. If it is through key board then user may press any key key to change or previous slide. One thing is very clear that if the user choses any of the way the event that is going to appear is same. So how to keep track of this event? Or Which event will occur when the user does either? And how to the get the information about that event?
In otherwords which event will be posted when the user right clicks and choses next or previous? PLz someone help me in this.............................. If i could get the animation change then i have reflect the change in the client side. So that i wil take care. First i would like to know which event will occur or how to capture the mouse and aeyboard event?
Note : i am using visual basic
Badhris
|
|
|
|
|
I want to store the MSAccessDatabase from ListBox's contains
Actually fileName is displaying in ListBox1 contains that is
FileName is Displayed in ListBox1 :Sundar-.Net-Bangalore-3yrs-sundar@yahoo.com
and parsed the fileName in Listbox2 contains:
sundar
.Net
Bangalore
3yrs
sundar@yahoo.com
i've parsed the fileName.and also displayed in the Listbox2.but i want to store in MS AccessDataBase.so how to store the Seperate field in DataBase MS Access.. Using VB.Net...
Pls Very Urgent Pls someone Help me..
Thanking You,
somasundaram
I want to join in the website
|
|
|
|
|
First, have you done any database work at all from VB.NET?
You'd have to create a table in the database, if you don't already have one to put this information, with, at a minimum, a column defined as Text with a specific length, say 50 characters. In your code you have to create an OleDbConnection object and a OleDbCommand object. This command object needs an SQL statement to add things to the column in your table. Then you create a OleDbParameter object:
Dim conn As New OleDbConnection(connectionString)
Dim comm As New OleDbCommand("INSERT INTO tableName (columnName) VALUES (?)", conn)
comm.Parameters.Add("@p1", OleDbType.VarChar, 50).Value = stringValueToAdd
conn.Open()
comm.ExecuteNonQuery()
conn.Dispose()
This is a very simplified example of one way to do this. I, in no way, imply that this will work with your code.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
I'm using RegisterHotKey, but how do I register multiple keys and make them do different operations?
Public Declare Function RegisterHotKey Lib "user32" (ByVal hWnd As IntPtr, ByVal id As Integer, _<br />
ByVal fsModifiers As Integer, ByVal vk As Integer) _<br />
As Integer<br />
Public Declare Function UnregisterHotKey Lib "user32" (ByVal hWnd As IntPtr, ByVal id As Integer) As Integer<br />
<br />
Public Const WM_HOTKEY As Integer = &H312<br />
<br />
Public Enum Modifiers<br />
MOD_ALT = &H1<br />
MOD_CONTROL = &H2<br />
MOD_SHIFT = &H4<br />
MOD_WIN = &H8<br />
End Enum<br />
Protected Overrides Sub WndProc(ByRef m As System.Windows.Forms.Message)<br />
<br />
If m.Msg = WM_HOTKEY Then<br />
MsgBox("Hot key pressed")<br />
End If<br />
<br />
MyBase.WndProc(m)<br />
End Sub
Then I register the key with something like RegisterHotKey(Me.Handle, 101, Modifiers.MOD_CONTROL, Keys.L)
|
|
|
|
|
As described in the docs for WM_HOTKEY[^], you look at the LPARAM of the message to see which keys were pressed. You can then branch based that to each routine you wanted to do.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
does any one know how to use the internet to translate for me..
I am writing a program to translate from english to spanish and vise versa..can anyone suggest how i start and how to do something like this..
Nab
|
|
|
|