I cannot create .msi files cause I don't have VS professional, and I want to have much more control over the installer than NSIS or Inno Setup give me.
Things I don't know how to do:
Compress the file(s) into the installation file
Extract the file(s)
Remove the file(s) on uninstallation
Any help would be much appreciated.
I'll stre...
Guys,
Is there a simple way to determine how many milliseconds I need to "Sleep" for in order to "emulate" a 2 mhz speed. In other words, I want to execute an instruction, call System.Threading.Thread.Sleep() function for an X amount of milliseconds in order to emulate 2 mhz. This doesn't need to be exact to the millisecond, but is ther...
If I have a Windows Application WinApp that has a public function pubFun, how can I call it from a different windows application --> WinApp.pubFun() ?
Thanks in advance
...
i had placed image and backgroundimage in button control in vb.net
if button is in disable state,image also shown as disabled(there is no color of image) state.but i want an image as enable (ie.image should be in color) and at the same time button will be disable
...
I found lot of Barcode generation codeprojects in C#. But could not find 1 in VB.Net. Please help me on this.
...
In my Windows Forms application (on startup) I use the ping command to check if both the Internet connection and my SQL Server are alive.
Is there any "better" way-command I should use for accomplishing the above task in the .NET framework 2.0?
...
Normally a databound winform only fires the getters for the properties which match textboxes, grids etc
But as I page through a collection (via BindingNavigator NextItem/PreviousItem), I'm finding that if I set a datagrid's DataSource to a property, then remove it, that property getter thereafter continues to fire even though the grid o...
hi guys,
I have created an SSISpackage in my asp.net project.To call the ssis package, i have written the following code.
dim app as new Application()
dim package as Package=app.LoadPackage("C:\Projects\MyPackage.dtsx")
dim result as DTSExeResult=package.Execute()
Response.Write(result.Tostring())
but it shows some errors.i think s...
I've created a class library and built a dll (release build). I've then referenced the DLL in another project (I've tried several). I can see the namespace and classes in Object Browser and I can declare instances of the classes but I cannot use or see any of the methods or properties! there is no IntelliSense whatsoever and calling the ...
I am attempting to send a soap response from a web service I have created. At the moment the response I'm sending is standard XML. How can I change this to respond in soap in this format: -
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:uiew="http://HSteindotnet.restrac.com/UIEWebServices/">
<s...
I have an application which I've developed which queries Active Directory information and stores about 15 properties into a Datatable which is kept in memory.
I need to decrease the amount of "Commit" memory it is setting aside.
The application stays active in the system tray and allows for quick searching of information along with pic...
I've got a VB program that goes out and gets an LDAP record for a user but I'm having problems getting the pwdLastSet date to dump into a text box. I have all the pieces in place but I think the value is tripping me up. When I try and put the results in a text box I get Conversion from type '_ComObject' to type 'String' is not valid. ...
I hope this makes sense.
I have created several WPF User Controls. The lowest level item is 'PostItNote.xaml'. Next, I have a 'NotesGroup.xaml' file that has an ItemsControl bound to a List of PostItNotes. Above that, I have a 'ProgrammerControl.xaml' file. Each ProgrammerControl has a grid with four different NotesGroup user contro...
Hello, I currently have this XML schema :
<PSC5>
<POI_ORI>
<CIT>LIM</CIT>
</POI_ORI>
</PSC5>
if user want to add a new option, the final schema will be :
<PSC5>
<OPT>132<OPT>
<POI_ORI>
<CIT>LIM</CIT>
</POI_ORI>
</PSC5>
if not just keep like :
<PSC5>
<POI_ORI>
<CIT>string</CIT>
</POI_ORI>
</PSC5>
Im ...
Hello all. VB.NET newbie here.
I've learned (through this site) how to negotiate a dataset via:
For Each dRow In quanDS.Tables(0).Rows
'do something to each row
Next
I now need to figure out now to loop through a subset of the records returned in the dataset - here's a VB6 example I need to convert:
strSQL = "select * from tblDQ ...
Hello,
I have a procedure in VB.net using VS.net 2008 which will get the list of Orders and build a XML file with the list of Orders as shown in the code below:
As the number of Orders is getting huge, I want to build the XML file for every 500 Orders
Dim Orders as List(of Orders)=DAL.GetAllOrders()
Dim Order as new Orders
Public xml...
All,
Trying to implement a recordset approach in VB.NET and (with the wonderful help of this community) have gotten to the point where things almost run. :)
Code:
Dim strSQL As String
Dim rsMaster As New ADODB.Recordset
strSQL = "select * " & "from tblDQ " & "order by xid, xcode, xDOS"
rsMaster.Open(strSQL, objConn, adOpenForwardOnly,...
How come this is not a valid DirectCast:
Public Sub FB(OF T0 As IGH_Goo, T1 As IGH_Goo) _
(ByVal A As DataTree(Of T0), _
ByVal B As DataTree(Of T1))
Dim val_A As T1 = DirectCast(A.FirstItem, T1)
End Sub
whereas this is:
Public Sub FB(OF T0 As IGH_Goo, T1 As IGH_Goo) _
(ByVal A As DataTree...
I am still new to LINQ, and I have wrestled with a query for several days and am ready to surrender to ignorance on this one.
I need to:
join 3 tables (on a total of 2 databases). Lets call them
Table1
Table2
Table3
Table1 joins to Table2 on "org"
the result joins to Table3 on "emplid"
Filters (where):
Table3.success = true
Table3...
I am making a program which dynamically adds objects, such as a button or a checkbox to a form.
For each instance, a handler is added so a certain function is called for the Click event of each object.
Now, when that handler is called, how can I manipulate the object that fired off the Click event? The Sender object is useless here as ...