|
Hi All,
I have a dsm file which was written for VC++ 6 IDE. I want to use this wih VC++ .NET IDE. can some one tell me what changes i should make so that it can run with VC++ .NET IDe also
Thanks in advance,
Regards
Raghu
|
|
|
|
|
Your best bet is to look at Microsoft's converted VC6 sample macros that have been converted to VB .NET. (They're in the file DevStudio6Editor in MacroExplorer.) Then study the differences and work from there.
There is also a specific VS add-ins and macros Yahoo group you could try posting to here:
http://groups.yahoo.com/group/vsnetaddin/?yguid=75841244[^]
Kevin
|
|
|
|
|
Dear Friends
I have a send email program in VB.NET my programm is running well it sents the mail file in c:\Inetpub\mailroot\Queue but from there it is not sending to the recepient. the mail files are still in Queue folder even i am connected to the internet and even my smtp service is running well.
please help me. your quick response will be highly appreciated.
Thanks
Patel Murtuza
|
|
|
|
|
hi..I could run word with VB6 now I want to save the doc file on server ..how can do that?
|
|
|
|
|
Anonymous wrote:
hi..I could run word with VB6 now I want to save the doc file on server ..how can do that?
You want to save the file using the vb6 code or using the save command in word. I think to save the file in the server you must have appropriate permission to write the file to any specific folder (or mapped drive) on the server then it is enough.
A thousand mile of journey, begin with the first step.
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
How do I setup my project to install the .net framework automatically
BINARY
|
|
|
|
|
What install program are you using ? You can't write a VB.NET program to install .NET, that's impossible. If you want to write your own code, it''ll have to be in C++.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
|
|
hi friends,
i'm using vb.net for devloping a web application. my code shows nothing wrong. but when i click a button to add the entries this error is being shown. my other applications are also developed in the same manner but they do not show error. the only difference in this application is that i'm tring to enter data into database from text property of a label. can this be a cause. i'm unable to figure out please help me.
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
Line 198: If DropDownList1.SelectedItem.Text = "Not Available" Then
Line 199: insert = "INSERT INTO Transmittal(Project_Name, Username, [Date], [To], Kind_Attn, Title, Drw_Doc_Num, Copies, Rev_Num, Action)" + "VALUES ('" + TextBox7.Text + "', '" + Label10.Text + "', '" + Label17.Text + "', '" + TextBox1.Text + "', '" + TextBox2.Text + "', '" + TextBox10.Text + "', '" + TextBox11.Text + "', '" + TextBox8.Text + "', '" + TextBox5.Text + "', '" + TextBox6.Text + "' )"
Line 200: OleDbDataAdapter1.InsertCommand.CommandText = (insert)
Line 201: OleDbDataAdapter1.InsertCommand.ExecuteNonQuery()
Line 202: OleDbConnection1.Close()
Source File: C:\Inetpub\wwwroot\OM\trans.aspx.vb Line: 200
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
OM.trans.Button4_Click(Object sender, EventArgs e) in C:\Inetpub\wwwroot\OM\trans.aspx.vb:200
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +57
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +18
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain() +1263
|
|
|
|
|
|
Anyone know how to set the listview forecolor and backgroundcolor?
I'm facing difficulty in understanding on how to set text color for a particular cell or item in the listview and also the background color for a row.
Please help... really need to know how to do it. Thanks a million!!!
|
|
|
|
|
i would suggect making a custom class, inheriting from windows.forms.components.listview , the owner draw the parts you need the colour to change on, and make properties so you can specify the colours
http://www.guardian.co.nr
|
|
|
|
|
Hi,
I use the following code to play a movie clip in a picture box on a form.
The movie and picture box are sized to be a specified width and height using
the variables 'moviewidth' and 'movieheight'. The window is called 'main'
and the picture box in it is 'mpicpicture'. The mpeg file to be displayed is
'FileName'.
Last$ = main.mpicpicture.hWnd & " Style " & &H40000000
ToDo$ = "open " + FileName + " Type MPEGVideo Alias video1 parent " &
Last$
retVal = mciSendString(ToDo$, 0&, 0, 0)
retVal = mciSendString("put video1 window at 0 0 " +
Trim$(Str$(moviewidth)) + " " + Trim$(Str$(movieheight)), 0&, 0, 0)
retVal = mciSendString("play video1 ", 0&, 0, 0)
The movie plays fine in the picture box. I have added buttons which pause
and resume the playing of the video using similar code to the above (that
is, replace the 'play' command with 'pause' or 'resume').
When the movie clip is paused I would like to copy the frame currently
showing to another picture box to become a still picture in that box. I have
tried such things as
main.mpicpicture.picture = main.mpicpicture.image
main.mpiccopy.picture = main.mpicpicture.picture
All that happens is that the new picture box resizes to the same size as the
one showing the video but it remains blank. Is there any way to access the
picture content of the video clip?
Can someone help me with this problem?
Thank you.
|
|
|
|
|
hi every one
i want to copy my files but the problem i want to copy it like windows so where ever i want to paste it i can
For example(into another program,location,..)
what i got in the vs program is
file.copy but here i have to specify the destination
could any one help me
|
|
|
|
|
You want to copy a file to the clipboard in code ? Why ?
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Dear All,
How can we restict the TextBox to enter only specified language(other than english like arabic or etc..)in vb.net,means that can be access only arabic charecters
|
|
|
|
|
Dear Friend,
I have write one small program. there is i save image to database.
but now i have problem that i did'nt able to retrive image in report file.
Please help me and solove the problem
|
|
|
|
|
My answer can only be as specific as your question.
Whatever process you used to put it in, reverse it to take it back out.
If you need more help, post more details.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
pmathur1 wrote:
I have write one small program. there is i save image to database
What is your method that you use to save your image file to the database. For my technique i usually store an image file in the database by record the file path. To display an image from the database, i use this technique: picturebox.image = image.fromfile(image path) . Please give more detail about your technique to write the file to the database.
A thousand mile of journey, begin with the first step.
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
Dear Friends
I have very small program to send email via SMTP service in VB.Net.
But when i run it it gives me error as below
"Could not access 'CDO.Message' object."
Please help me to solve this problem
your quick response will be highly appriciated
Thanks
Patel Murtuza
|
|
|
|
|
|
dear friend
i have solved my problem thanks for your response. but now there is one small problem i have that by this program the mail files are coming to c:\Inetpub\mailroot\Queue but from there it is not going out to the recepient even i have connected to the internet and also my smtp service is running well
thanks
murtuza patel
|
|
|
|
|
I'm writing a program that converts a number in a textbox from one metric unit to another. I need to write an if statement that will validate that what is in the textbox is a numer and if it isn't returns a message box. any suggestions with code samples would be appreciated.
BINARY
|
|
|
|
|
Try the Parse method in the Int32 class. Something like
Dim number as Int32
Try
number = Int32.Parse(textBox.Text)
Catch
Regards
Senthil
_____________________________
My Blog | My Articles | WinMacro
|
|
|
|