I'm using visual studio 2008.
I have a datagridview in a winform. I've bound to it using an object
Private Sub LoadAllCampers()
Dim Os As List(Of LE.Camper) = Nothing
Dim Oc As New LE.Camper_Controller
Os = Oc.GetCamperData(0)
With Me.dgResults
.DataSource = Os
End With
CamperBindingSource.DataSourc...
does anyone know why my tables are lapping over each other?
Dim datatable As PdfPTable = New PdfPTable(4)
Dim page As Rectangle = document.PageSize
datatable.TotalWidth = page.Width - document.LeftMargin - document.RightMargin
datatable.DefaultCell.Border = 0
Dim datatable1 As PdfPTable = New...
I've written an app that allows me to start multiple PowerPoint presentations, each on its own monitor (this particular config has 4 monitors). The problem I have now is that only the presentation that has focus has any animation. The other 3 pause until they receive focus via mouse click.
Is there any way to keep this pause behavior ...
if i define a table like this:
Dim datatable As PdfPTable = New PdfPTable(4)
and i dont have 4 cells to add in it, how can i make it so that it automatically fills the cell if there are not enough cells?
i am finding that unless i have at least 4 cells in there, it wont display it
the question is how do i figure out which cells are...
Hi, I'm developing a WinForms app in VB.NET, that handles sets of style data, and when the user clicks on another set's label, it prompts through a dialog "You are leaving this style preset to edit another one. keep changes on this one? [Yes] [No]"
But, I'm facing the problem that, when the user clicks either option, and the dialog clos...
As far as I can tell i'm doing everything by the book, but the .NET client is simply not sending an authentication header when making requests to my (PHP) SOAP Web Service. I have verified this by logging the raw post data at the PHP end of things and .NET never sends any auth headers.
This is the code I am running before making calls o...
I cannot figure out how to convert this code from C# to VB.net. It says - Argument not specified for parameter ‘y’ in the calling code below.
Any suggestions?
Thanks
Calling CODE:
list.Sort(Utility.CompareContactListsBySortOrder) - error here in VB
CODE:
/// <summary>
/// Defines the compare criteria for two Contact List...
I have an application right now that starts a process, then opens a file associated with that process (system.diagnostics.process.start("WM.exe")), however, the way they save, there is a window within a window. It's like in photoshop cs3 when you have many windows within the big window of the application. Right now I use an api call to f...
how to read a text file character by character in VB.NET??
...
Hi, I wonder if someone can help me.
I'm trying to add a reference to the LAME MP3 encoder in my VB.Net (3.5) App.
The DLL I'm using (lame_enc.dll v3.98.2) was downloaded from here: http://rarewares.org/mp3-lame-bundle.php
When I try to add the DLL reference to my project, I get an error:
"A reference to C:\\Lame_Enc.dll could not be ...
I have a project where the requirements is that a end user will select a template, enter some information and then my program should create a wmv movie file that has the information entered encoded in the movie.
So from my perspective I would like to have a framework that allows me to add graphics and text to a movie. Something like thi...
Hi guys,
I've been reading a fair bit about the performance of using LINQ rather than using a for each loop and from what I understand using a LINQ query would be a little bit slower but generally worth it for convenience and expressiveness. However I am a bit confused about how much slower it is if you were to use the results of the q...
hi
I'm programming a desktop application similar to Google desktop but with my own gadget with vb.net 2008 how can i make my application when the user install it on their computer to run at the time of start up ?
let assume that my application name is windowsAplication1 and I'm using windows XP and the program will be installed on C dr...
I have a custom component, that contains a list of another components.
If I add a child component to the list, it shows up on the same level as the parent component in the document outline window.
How can I make it a subitem of the parent component? (similarly to e.g. TabPages that are subitems of a TabControl)
Here is my code:
Publi...
I need a way to transfer a compiled assembly from client to the server and be able to store that in the database or in a file in such a way that I can grab those bytes on the "to" side and re-load assembly. Is there a way to do it. To clarify, I have a winforms application that will generate code and compile it based on some metadata. No...
I usually avoid VB's built-in conversion functions (CStr, CDate, CBool, CInt, etc.) unless I need to do an actual conversion. If I'm just casting, say from an object to a string, I normally use either DirectCast or TryCast, under the assumption that CStr, etc., are doing some extra stuff I don't need. But sometimes the DirectCast syntax ...
Hi,
I am using vb.net language
I have a dropdownlist, which is filled by below pattern
"Smith,James" so first one is surname and second after "," is firstname
I have two textboxes for surname and firstname. Now I want to fill the textbox when dropdownlist is changed.
I mean when user changes the dropdownlist the selected text in dro...
I'm attempting to consume a HTTP Basic Auth Secured PHP WebService using VB.NET. I've so far managed to get 100% perfect integration by adding it as a Web Reference and doing the following:
Dim Credentials = New System.Net.NetworkCredential("username", "password")
Dim CredentialCache = New System.Net.CredentialCache()
CredentialCache.Ad...
I have a asp.net web page where i will navigate pages on the click of the "Next" button
Page1 will got to Page 2 and then page 3 and page4
But in a selection of dropdown in page 1 it decides page 2 should go to page 3 or page 4
How can i know where they set this page navigation? if suppose i need to change the navigation order?
...
Hello
Migrating an old ASP site to .NET, and there's a load of VBScript we're porting to VB.NET.
Getting into trouble with the old property syntax, does anyone know of a tool (or other such magic) that could do this automatically?
Googled, but no joy.
Thanks
Duncan
EDIT: VB Script properties look like this:
Public Property Get AgeC...