Hello,
I have a simple vb.net form a tabpanel strip, and then a seperate form which is loaded for the tabpage.
Here is the code for the button that dynamically creates new tabs:
Dim tempTab As New TabPage
initTab(tempTab)
xt.TabPages.Add(tempTab)
xt.SelectedIndex = xt.TabCount - 1
Here is the code for the "initTab":
...
I'm trying to add upload controls to the page.
This HTML mark-up with JavaScript is working fine but there
s no option to remove the added control:
1. Example A
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w...
I'm trying to add control to the ASP.NET page. Controls are added successfully but can't access from code behind. In the sample below, when Button1 is clicked, there's no element in "uploads" (type HttpFileCollection).
Here's my mark-up:
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="add-remove-control.aspx.vb"
Inherits...
Hello,
I've been googling, testing, etc for a couple hours and I'm right where I started off. the vb.net tab control sucks... Does anyone have an tips or code to make it so when I select a tab the font color changes OR it just makes the tab heading text bold?
I've messed around with the draw commands and while that does work, it draws ...
Hi,
I have my form set in french as well, and it automatically changes the text format to use ','. However When I try to insert my values into the database it says cannot convert nvarchar to decimal?
Worst case, Is there a way I can disable the numbers from changing to use ',' and just use '.' always regardless what language it is? ...
I'm trying to create my own templated helpers but I got stuck on TextBoxFor syntax. In C# its:
<%= Html.TextBoxFor(model => model) %>
And I cannot figure out (or google it) - how to write that in vb.net?
...
how will i convert the following public key to integer.
these are the RSAKeyValue:
Modulus: yf4I7PVef43rZ2NdPFA5FQFb/y/k/5Awqrwc+/VDUimthRg4C5K2P6EUhU5n2m4HUiz102LIuwsYDYuyHwG3VUbAb4zjqxiOwrSpsHfCvgOdLsb4DBrXFFGp5kMtoZrDzl84tnDlyYgy8v3o5Qp2eeQgDaau2PhYUxoco6IArHU=
Exponent:AQAB
i want to do this bcoz i want to take its xor wi...
I have a WebBrowser Control in my VB.NET application. Now the it browses through many URLs (may be 10 - 20) and I want that each of the page HTML saved in text file. Now the thing is that when I write the HTML of page in file, it does not write the HTML of current page rather than the initial one because it calls the event before even th...
I'm trying to determine why this type isn't serializable (as tested by Type.IsSerializable())
<Serializable()> _
Public MustInherit Class WellKnownInstanceCollectionWithTypedId(Of T As WellKnownInstanceWithTypedId(Of IdT), IdT)
Inherits ReadOnlyCollection(Of T)
Public Sub New(ByVal list As IList(Of T))
MyBase.New(list)
...
In my VB.net Winforms application I'm using the ITaskbarList3::SetOverlayIcon interface to set status overlays on the application's taskbar button (under Windows 7). This all seems to work fine for me, with the icons being shown and removed correctly.
From the form load event, one of my functions makes the call
SetOverlayIcon(parentFo...
I am implementing IDisposable for a class and while disposing there is a internal list of disposable objects. Should I be disposing those object by looping through them.
public Class MyDisposable
Implements IDisposable
private _disposbaleObjects as new List(of OtherDisposables)
Public Overloads Sub Dispose() Implements...
i'm learning vb.net and c# at the moment. can anyone recommend a book that focuses on the .NET framework in general and isn't too language specific.
...
I was viewing the Channel9 video on an introduction to VS 2010 extensibility to learn a bit about creating extensions. In the video, the end "enhanced" product was supposedly using a tool window but it did not look like one; it had no titlebar or anything.
http://channel9.msdn.com/posts/VSIPMarketing/VSX101-An-Introduction-to-Visual-Stu...
Using vb and winform, and powerpack's DataRepater.
When I right click on a Repeater Item that alone does not seem to make the Item that I clicked on the Current Item. How can I make the Item that was Right Clicked to become the Current Item?
thanks
...
Hi all,
Attempting to use the amazon API to obtain product data and currently failing miserably.
Getting the following error: (The HTTP request was forbidden with client authentication scheme 'Anonymous'.)
Anyone care to point me in the right direction or provide a link to good example of the API usage?
Dim itemRequest As New ItemSe...
I have X and Y data columns coming from database.
I have to show scatter plot chart with Linear, Exponential, Log, power using asp.net chart control.
How to do that? Please let me know.
thanks
in advance
...
Other than perhaps enhanced readability for very simple patterns, why would someone choose to use the Like operator in VB.NET over regular expressions for string pattern matching? Are there any advantages?
...
i have a simple statement of code that reads:
Return String.Format("{0} {1} {2}", _var1, _var2, _var3)
i'm trying to get this formatted string to output each var on it's own line. i'm new to vb.net but i did try one thing:
"{0}\n {1}\n {2}"
that didn't work. any help?
...
Hi all,
Is there any way that I can prevent a designer class from being rebuilt when running my project?
The designer class is a webservice reference with over 30000 lines of code and appears to be being rebuilt almost every time I run my project. (Which obviously takes quite some time)
Is there some explicit way I can prevent Visua...
Dear Guys,
I have written a program in vb.net 2008 (using .net 3.5). It's a decent size program. One part of this program is to access an online database and encrypt/decrypt files. To access db I use a hardcoded password. To encrypt/decrypt files I used a hardcoded key. No matter what I do I would need to hardcode one of the two things ...