I wrote a Visual Basic 2008 application targetting the .NET Framework 2.0. It runs fine on my development PC, but when I run it on a deployment machine, I get the following error:
Could not...
I can set header alignment in .NET CF, but I cannot find any documentation or examples of how to set text alignment for a data column (not the header). I would greatly appreciate an example o...
Hi..
I have a crystal report (crsSTUD) which designed depends on the database,
and I have a form (frmSTUDENT) contains on some textboxes which taking its data from the database table (STUDEN...
Subj: Multiline VB.NET application
Hi there!
I need to find out how to operate with delegates in VB.NET; especially I need the universal example of the following:
- how to change text...
Error 1 Value of type '1-dimensional array of Service' cannot be converted to '1-dimensional array of RogersWebService.Service' because 'Service' is not derived from 'RogersWebService.Service'...
I have a web app with the code behind in VB.Net.
At one point, when the user clicks a button I open a modal dialog, for example:
OnClientClick="var retvalue = window.showModalDialog('KTRec...
Please help me how to display the External Image in RDLC
I'm using VB.net 2005. I want to open a Word doc from either the VB app. It can either shown on the form or in Word itself. Either way is fine. I tried using the WebBrowser control method,...
I have a web project created in VS 2008, I wanted to add a DateTime Picker to the page but did not see the 'Common Controls' tab in the toolbax, I selected Show All and it then showed up with ...
I alrady have code that changes the connection string in the app.config (<progname>.exe.config). I've verified that the file is being changed. Then I close the program and manually restart t...
Hi X-perts,
What is the simplest way to truncate a string to a certain length but keep the words intact?
If we use a direct string cut as
If (Len(fName) > 24) Then trName = Left(fName...
Hello,
I need assistance to programatically download a file. I've written a VB .Net program that uses the webbrowser control to navigate and log in to a website, It navigates through a co...
Hi all
I want to create a report using the built-in report tools in Visual Studio 2008 (Not crystal). I use the report viewer to display the report that I am generating. It works fine if I ...
HI
How could I get the file name and path in a winapp using VB.net ?
Thanks in advance.
I have a rdlc report that has an image on it that has a source of one of the fields on the report (a path to the correct photo). The report data gets loaded ok but the image does not. How c...
I want to move a byte array to a picturebox.image in VB.NET.
I have a machine vision application that calculates an image. The calculations are mathematical and I need to display my calcul...
This is how i generally access values from another form's controls.
Say for example I want to get the values from another form's textbox.
Form 1
Public Class Form1
Public Shared NuNameTB...
Hi x-perts,
I have added an option for the windows form to be onTop. The problem is that if it calls a message box, it shows behind the form and waits for the user's input.
How can I fix...
Hello,
I am looking for an example of how to use multi-threading / asynchronous tcp sockets to listen on a specific port and accept incoming connections. Something that can dynamically add ...
Hi,
I have the following App.config file in my client application. I need to read the EndpointAddress based on Endpoint name. Can you please provide me code how to do that ?
APP.CONFIG
...
How can make a datagridview master/ detail with only one grid.
Hi X-perts,
I need to list all the radiobuttons inside of a groupbox and return a tag value of the checked one.
How can I do this?
I cannot use
For Each ctl As Control In Me.Gro...
why there is a error in this line " cc2 = cc1.FindAll(p1) "?
Unable to cast object of type 'System.Collections.Generic.List`1[WindowsApplication1.Car]' to type 'WindowsApplication1...
I am using a sitemap with a treeview that is 3 levels deep. The treeview is embedded in a master page. The treeview is set to show 2 levels by default. The user can click on the expansion no...
Hey guy's,
I've a question about VB.NET and XML.
I'm be able to create a new XML-Document.
My question: How can I add some nodes to the already existing XML-Document???
Thanks.