Hi to all.
In a rather complex page where cohexist various update panels i have a userControl within an UpdatePanel like this:
<asp:Panel ID="TreeViewDossier_Panel_Contenitore" runat="server" CssClass="TreeViewPanel">
<asp:UpdatePanel ID = "UpdatePanel_TreeViewDossier" runat = "server" ChildrenAsTriggers="False" UpdateMode="Conditi...
Hi all,
The form is an About Us form so has nothing on it only a text box and a OK button.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Me.Close()
End Sub
Here is how I'm opening the form:
Private Sub AboutAppStripMenuItem_Click(ByVal sender As System.Object, ByVal e ...
Hi all,
I'm opening a file called tempImage.jpg and showing it on a form in a PictureBox. I then click a button called Clear and the file is removed from the PictureBox using PictureBox2.Image = Nothing, however I'm unable to delete the file as it is locked open. How can I release it so I can delete it? I'm using VB.NET and a fo...
I found the following example on http://www.erictobia.com/2009/02/21/LoadADataTableWithLINQ.aspx
Unfortunately, I need it in VB and it's using some constructs that neither I nor the automated code converters reciognize. Anyone out there know how this should be written in VB.Net? (the problem spot is the "select new {...")
PeopleData...
I'm to the point now in my programming development that I'm trying to take advantage of Object Oriented Design instead of the basic behind the button procedural stuff I have been doing.
In a current project I'm taking repeated, copy and paste sql server insert code and migrating it to classes with properties, methods, etc...
One is...
I'm using VB.NET forms app and I need to check if a PictureBox currently has an image in it. How would I do this?
Thanks
...
I am pretty sure I've done this before, but I cannot remember how/where I found out how to do this.
I created a new WinForm application then dragged a notify icon onto my designer. I coded my desired functionality for the NotifyIcon's behavior inside the Form1.vb file.
I think I remember something about adding a module to the project, ...
this code using an OLEDB source will populate the OutputColumnCollection
below it, the code using a flatfile source will not populate the OutputColumnCollection.
Why not?
Microsoft.SqlServer.Dts.Runtime.Application a = new Microsoft.SqlServer.Dts.Runtime.Application();
String SSISPackageFilePath;
SSISPackageFile...
Does the absolute value protect the following code from the Environment.TickCount wrap?
If Math.Abs((Environment.TickCount And Int32.MaxValue) - StartTime) > Interval Then
StartTime = (Environment.TickCount And Int32.MaxValue)
.
.
.
End If
Is there a better method of guarding against the Environment.TickCount() wrap?
(This ...
Are there any good conversion tools out there to convert VB.Net code to C#?
FREE
developerFusion
Telerik CodeConverter
SharpDevelop
PAID
VBConversions
Vbconversions VB.Net to C# Converter
Download3000 VB.Net to C# Converter
...
Hi,
I'm experimenting with linq compount selects. I find the following query not to return any element:
Dim q = From s In d.GetChildRows("DossierSinistri") _
From i In s.GetChildRows("DossierIncarichi") _
Select s
while the following does:
Dim q = From s In d.GetChildRow...
I want to make an button that runs an action with the frequency from an number input in Visual Basic .NET . How do I do it? Could someone point me out the syntax of such an action?
@Jon, I think that's C++, I am talking about VB.Net.
@Adam Davis, VB.Net 3.5 and all that I want to do is use an number from "NumericUpDown" to give a butto...
I have converted a VB6 project to VB.NET and am left with a large number of inline 'warning messages' such as "UPGRADE_WARNING: Couldn't resolve default property of object varJonSkeet" that I would like to get rid of. Is there a way to do this within Visual Studio 2008? Will it be easier to remove the warning messages with regex? I would...
I know there have been a ton of questions about how to implement automatic updates in a .NET application, and I've probably read most of them. Unfortunately, none I have seen quite fit my situation as far as I can tell.
I am trying to build a self-updating .NET application that will run in an environment with limited user accounts. ...
Hi all,
I'm reading in an image (jpg) using the code below and I need to check that the image is no bigger than 150 pixels by 150 pixels and is less than 25k, how should I do this?
PictureBox2.Image = Image.FromFile(.FileName)
Thanks
...
I've found a few examples of using vb.net to access an sql database, so far none of them have worked . They all involve using DataReaders. Maybe its the fact that the sql db is not on the same machine as the application.
I was just wondering if anyone had a more comprehensive example of using VB.NET to access a remote sql server.
Thank...
I have a datatable object, which is populated from a webservice.
Apparently, the web service just throws everything (data) back to me. The data which gets in my datatable looks like this:
Dept Code Value
Science ABC 5
Science ABC 6
Science DEF 7
Math ABC 3
Math DEF 9
English ABC 2
Engl...
Hi,
What is the most similar thing in vb.net to a pointer, meaning like C poinetrs?
I have a TreeView within a class. I need to expose some specific nodes (or leaves) that can be modified by external objects.
...
Hi,
It's Friday so I'm prob doing something stoopid here. In fact I'd put money on it.
I'm playing around with Subsonic - got my feet happily into v2.2 but intrigued by v3 alpha
Followed Rob's webcast, did as he did, watched T4 generate the code, went to use the new namespace and oh. No namespace.
I can see the namespace Test.Data ...
Hi,
I have a Gridview in which no rows populated initially. means i am not setting any datasource to gridview.I have to populate gridview by adding footerrow.I have given visibility of footerrow as true.So one error is coming as 'Object not set to an instance of an object'.what may be the reason for this? Can anybody help?
Actually i n...