|
You're a brave man, Dave, stepping into this mess. I see it didn't really help, tho.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Yeah, I thought maybe, just maybe, if he heard it from another person, it would sink in. Guess not...
Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic 2006, 2007
|
|
|
|
|
Maybe if you were not also an MVP....
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Christian Graus wrote: Maybe if you were not also an MVP....
This could be one of those cases where I think we should change those lines to "Village Idiot". Maybe they'll listen then?
Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic 2006, 2007
|
|
|
|
|
Hi there,
How in the world do you update a ComPlus application with InstallShield? I use VB6 dll's in my .Net application and course of that Interop dll's is created. How do I increase the version number of those interop dll's so that an upgrade via InstallShield will copy in the new interop dll's?
Thanks for your time,
Regards, Werries
A programmer's life is good... or is it?? Ek dink nie so nie!
|
|
|
|
|
Hi there,
Thanks for all those who have take time to help me on this post. I’ve solved my issues. I’ve tried to update Interop dll’s via InstallShield, but was not successful because the version numbers of the Interop dll’s did not change. On the end I used the QuickPatch option of InstallShield to remove the original Interop dll and copy in a new Interop dll. This worked fine.
Regards, Werries
A programmer's life is good... or is it?? Ek dink nie so nie!
|
|
|
|
|
Hi...
Is there any way to restrict the current logged in use to access certain
applications in windows environment…!! VB.net 2005
Thanks...
|
|
|
|
|
Not really, no.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Yes. You may do so by creating a timer. Inside the timer Tick() event, type system.diagnostics.process.kill("<processname>"), where <processname> is the process you wish to end. Please mail me with any questions or comments.
Best Regards,
Richard Faulkner
|
|
|
|
|
Hi..
i want my application to run from the right click menu of desktop... From where we refresh our desktop..that one.
Is there any installer that can do this... or shud have i to first write code for this
and call that application... during the installation of my default appplication.
I am using vb.net 2005
Plz help me out... need it urgently
|
|
|
|
|
Maybe this is a dumb question but why would you want to do such a thing?
|
|
|
|
|
I am sorry to say this, but you most likely have no option of doing so unless you patch(modify the resources) of explorer.exe. I suggest you rather add your program to the control panel. One way of doing this is by purchasing a third-party program that adds programs to the control panel. Another free option is to download this VBScript file. You need to edit it, because it was originally for placing TweakUI to the control panel. Please mail me with any questions or comments.
Best Regards
Richard Faulkner
|
|
|
|
|
I have one check box in a table.On selecting that check Box,All the check boxes in the grid view should get checked. The code is as follows:
Protected Sub cboApprove_CheckedChanged(ByVal sender As Object, ByVal e As System.EventArgs) handles cboApprove.CheckedChanged
Dim intCount as Integer
if cboApprove.Checked=True
for intCount=0 to gvSharedItemsList.Rows.Count - 1
Dim row as GridViewRow = gvSharedItemsList.Rows(intCount)
Dim cb As CheckBox = CType(row.FindControl("chkSelect"), CheckBox)
cb.Checked =True
next
End if
End Sub // This is not working
If the write the same code under button,then the click of that button,all the check boxes in the gridview are getting checked.
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs)
Dim intCount as Integer
if cboApprove.Checked=True
for intCount=0 to gvSharedItemsList.Rows.Count - 1
Dim row as GridViewRow = gvSharedItemsList.Rows(intCount)
Dim cb As CheckBox = CType(row.FindControl("chkSelect"), CheckBox)
cb.Checked =True
next
End if
End Sub // this is working
But the same thing is not happening when i checked the checkbox present in a table. In short, cboApprove_CheckedChanged is event is not firing... Please help me.....
Thanks and regards ,
Shyam
|
|
|
|
|
Hi there,
Can somebody tell me the utility of marshalas in vb.net 2.0.I mean for what purpose i should use it.
Thanks
|
|
|
|
|
This is used to tell the .NET CLR how to marshal arguments back and forth when doing interop between managed and unmanaged code, such as when calling into the Win32 API. You can find out more by reading the .NET Developers Guide - Interoperating with Unmanaged Code[^] section.
Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic 2006, 2007
|
|
|
|
|
ENvironment.
VB.net, SQl Server 2005, Visual Studio 2005, VB.net Stored procedures. I have defined a
public class foo
public index as long
public fname as string
public lname as string
end class
A sub wants to use this class as folows:
Public Shared sub doit(byval fname as string, byval lname as string)
dim myrecord as foo
myrecord.fname = fname
visual studio and vb tell me that my record is not initialized and may throw an exception if it is used without being
initialized. It does throw an exception. How do I initialize myrecord. I have tried
public class foo
public index as long = 0
public fname as string = "xxx"
public lname as string = "xxx"
end class
The compiler did not complain, but it did not solve the problem.
rkj
|
|
|
|
|
try this one
dim myrecord as new foo
this may help u.
|
|
|
|
|
That did work. Thank you very much!!
rkj
|
|
|
|
|
Greetings,
Currently im doing an invoice software in which it will automatically save all the data entered by the user into excel file. Then when the user click 'SAVE' button, the excel file will be saved. However, the size of the saved file is very big which is 1.46MB, but if the data is inserted manually into excel (without using the software), the size is only approximately 60kB. Does anyone know what's the problem? Please Help...
Your help is greatly appreciated. Thank you in advance.
|
|
|
|
|
u r using window or web application?
|
|
|
|
|
im using window
sory for the insufficient info juz now...
|
|
|
|
|
Hi, Im trying to get a VB.NET program to create a shared folder. I can
make the folder but I cant figure out how to make it as a shared
folder. Also I will want to set the permissions on the folder and on
the share. How can I do this using VB.NET code?
|
|
|
|
|
Use this,System.Security.Permissions so that we can set the Permission on the folder and also on the Sharing.
Regards,
Satips.
|
|
|
|
|
give me please for expamle using system.security.permissions
|
|
|
|
|