all groups > vb.net > february 2007 > threads for thursday february 15
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
File copy to secure location.
Posted by Todd Sparks at 2/15/2007 11:02:25 PM
I am developing with VB.NET 2005 and I need to copy a file from somewhere on
the users machine to a secured location on the server. I am creating an
image archive system that will allow users to select image files from
basically anywhere, once they add the file to the archive I will write any... more >>
String Replace/Registry Manipulation
Posted by Newbie Coder at 2/15/2007 10:49:27 PM
Hi all,
VB.NET 2003 ONLY PLEASE
I have a registry key (HKCU\Software\Newbie\SomeKey) of type string which
holds an XML string as follows:
<root formID="preferencesform" lang="english" ><global welcome="0"
lang="british" soundEffects="0" soundTheme="default" stayOnTop="0"
autoStart="0" ... more >>
VB6 Conversion. Need help understanding how to implement fixed length string arrays..
Posted by Rick Knospler at 2/15/2007 7:26:40 PM
I am trying to convert a vb6 project to vb.net. The conversion worked for
the most part except for the fixed length strings and fixed length string
arrays. Bascially the vb6 programmer stored all form data in a fixed length
structure that is written direct to disk.
I need to load the exis... more >>
giving control focus = Focus? Select? ActiveControl? Activate?
Posted by Zytan at 2/15/2007 7:24:35 PM
http://msdn2.microsoft.com/en-us/system.windows.forms.control.focus(VS.80).aspx
this page says:
"Focus is a low-level method intended primarily for custom control
authors. Instead, application programmers should use the Select method
or the ActiveControl property for child controls, or the Act... more >>
ID Column in Treeview
Posted by Ben at 2/15/2007 7:03:43 PM
Hi
We are using the treeview control unbound.
We are populating it from a database but would like to add a hidden
reference/ID column. Is this possible?
Thanks
B
... more >>
Casting Exception. Simple Code... Why! Why! Why!
Posted by samadams_2006 NO[at]SPAM yahoo.ca at 2/15/2007 6:45:11 PM
I have what seems to be a very simple straight-forward program (shown
below), but I'm getting an error:
Unable to cast object of type 'TestApp1.ParentTable' to type
'TestApp1.ChildTable'.
on the line: objTable = .SelectedOptions (the fifth line from
the top in the following code).
... more >>
How can I imbed a VB program in a website
Posted by Jeff Bartosch at 2/15/2007 6:29:39 PM
I have made a small simple calculator for a game my Son plays and I want
to load it onto my website.
It was writen in VS2003, and I am familiar with html.
All I wish to do is upload it to the website so when that page is
accessed the calculator appears.
Thanks for your help in advance.
Jeff
... more >>
Datagridview Combobox
Posted by Arne Beruldsen at 2/15/2007 6:22:02 PM
I have a Column called Time. In most cases the actual time will be inserted.
However I would like a combobox with half hour increments....
I am able to load the ComboColumn okay...however once data is loaded I get
an error message...it appears to be loading from the list versus the actual
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
How do I set initial Excel workbook name?
Posted by jbrock NO[at]SPAM panix.com at 2/15/2007 5:52:34 PM
My VB.NET program pops up an Excel workbook for the user. If I
initially create the workbook using:
Workbooks.Add(Microsoft.Office.Interop.Excel.XlWBATemplate.xlWBATWorksheet)
I end up with a workbook named "sheet1". If I use an existing
Excel file as a template, e.g.:
Workbooks.Add("C:... more >>
Viewing AVI, MPG Jpg, etc in a VB.NET (2.0) application
Posted by RB0135 at 2/15/2007 5:09:08 PM
Hi all..
Just want to know the best way to view AVI's, JPG's, MPG's and similar
files in one control in a VB.NET application? The application will be
an advertising display tool.
Is there a simple control that can accomplish this (Free or
commercial), or are there controls/possibiliites alr... more >>
How to change the Class of a table
Posted by Corinne at 2/15/2007 4:58:49 PM
Hi All,
I have a table in a aspx page.
I want to change the class value dependign on a value pass to the page.
Any idea how I get to do that.
I would have expected the following to work but it doesn't. For some reason
I get "Name "Value" is not declared"
<%
dim value as string
val... more >>
How to run multiple lines of code through a Process?
Posted by active at 2/15/2007 4:50:39 PM
I'm using a Process object to run cmd and I give it the text from a textbox.
It only executes the first line i.e. the first command.
Is there some way to tell cmd to keep executing.
I could write the text to a file and run that but that's a bit of a kluge.
Any suggestions?
... more >>
VB.Net Rules!
Posted by Master Programmer at 2/15/2007 3:49:45 PM
I love VB.Net! The next version is going to be even better. I'm sorry if I
offended anyone with my rants. Please forgive me. OK?
... more >>
usercontrol resizing dock anchoring parent vb.net
Posted by marfi95 at 2/15/2007 3:47:28 PM
My application consists of basically a treeview on the left side,
along with a panel control that takes up the right side. When nodes
are clicked on the left, the data on the right side of the panel is
changed based on that type.
What I'm using are usercontrols, so I can do the visual design ... more >>
Can't load XML data
Posted by Lou at 2/15/2007 3:45:39 PM
I have a app that gets xml data from a web site using http:
This all works if I test it in VB6, but the ParseXMLFile function
crashes on the line:
nNode = xDoc.SelectSingleNode("cap:alert")
With the error message
"Namespace Manager or XsltContext needed. This query has a prefix, variable,
or ... more >>
name 'tes' is not declared
Posted by Corinne at 2/15/2007 3:13:43 PM
Hi everyone:
I have created a test.aspx page. (Visual studio 2005)
I want to declare some variables to use in a IF statement to assign other
variables specific values.
I keep on getting some messages telling me "Name 'test' is not declared"
Everything in between the <%%> is underlined
... more >>
As VB index help
Posted by giannis at 2/15/2007 2:33:07 PM
I like the feature in the VB index help, that user types in first
serveral characters, the list will jump to the first match.
How can i do this in VB with the combination of a combo box
and list box or with the combination of a text box and list box ?
Is this possible ? What events must i use fo... more >>
Retreiving from a treeview
Posted by Nach at 2/15/2007 12:44:25 PM
Does any one have a sample how to go to a parent node
and then retreive all the children nodes info for that particulir parent.
Example you have products as a parent tree
then you have sales for that particulair product in the child tree.
for each product I would like to retreive all the sales... more >>
Get focus on a form
Posted by Wan at 2/15/2007 12:28:52 PM
Hi,
I have a small test project consists of two simple forms. The main
form contains a datagrid and upon doubleclick event of grid I bring up
a detail form that contains few controls, drop-down, textboxes &
button. if I double click the second time, detail form shows up again
- so far so good... more >>
Printing Multiple Pages in Print Preview Dialog
Posted by Playa at 2/15/2007 12:23:10 PM
I am having problems when I try to print multiple pages in my print preview
dialog. It will print more then one page when it needs to however, the second
page is always blank when it should contain text. Does anyone know a site
with good examples I can follow or has anyone ever had this probl... more >>
Really weird rounding
Posted by alsmeirelles NO[at]SPAM gmail.com at 2/15/2007 11:45:15 AM
Hi all,
I Have run this test:
Private Sub test()
Dim d As Double
Dim f As Single
Dim output As String
d = 8888888888888.8887
f = 9999999988888.8887
output = "Original double is: " & d.ToString() & " Formated
Double is: " & FormatNu... more >>
2_JPG_to_VÃdeo
Posted by Carlos Duarte at 2/15/2007 11:09:23 AM
hi.
is there any way to take two JPG images and create a 10-second vÃdeo
alternanting them?
it can be in any of the following formats: WMV, MPEG, AVI
... more >>
How do I make this work?
Posted by Ron at 2/15/2007 11:07:35 AM
I have a couple of questions about this class.....:
Public Class WordPair
Private word1 As String
Private word2 As String
Public Sub New()
word1 = ""
word2 = ""
End Sub
Public Sub New(ByVal w1 As String, ByVal w2 As String)
word1 = w1
wor... more >>
Confused About Which Excel Reference to Use
Posted by TC at 2/15/2007 9:50:14 AM
My project has a reference to the Excel 9.0 Object Library. My
understanding is that, by using a reference to 9.0, I make my
application compatible with Excel 2000, 2002, and 2003. If I use a
reference to 11.0, however, then my application is compatible only
with Excel 2003. Is that correct?
... more >>
Programmatically read code in the IDE
Posted by Tim Zych at 2/15/2007 9:32:06 AM
I would like a way to scan the code in a vb.net project, say by creating a
vb.net utility to cycle through each line of code related to a particular
project and perform some analysis on it.
How do I program into the IDE? Did I ask that right? I need a way to
programmatically cycle through e... more >>
Send Email using VB.NEt 2005
Posted by Hugh at 2/15/2007 9:08:31 AM
Hi There,
I use follow code to send email inside VB.NET 2005. It does not work well.
Error message of "Failure sending email" would occue. However, email was
sent out sometimes. I am confused and please help.
Thanks in advance.
Hugh
Imports System.net.Mail
Public Class Form1... more >>
How load user control into panel on split container in Win app?
Posted by Ronald S. Cook at 2/15/2007 9:03:36 AM
I have a Windows app with a split container (SplitContainer1) that contains
two panels (Panel1, Panel2).
I would like to load a user control (utcMyTest) into Panel2 on form load.
Can someone please tell me the line(s) of code to do that?
Also, is there an easy/dynamic way to unload whiche... more >>
[text] As String, what is the [ ] for?
Posted by Zytan at 2/15/2007 7:19:40 AM
In the code on this page: http://msdn2.microsoft.com/en-us/library/
ms171728.aspx it shows:
Delegate Sub SetTextCallback([text] As String)
What is the purpose of [ ] surrounding 'text'?
I've done some quick tests and found nothing differs when i use it, or
not.
thanks,
Zytan
... more >>
Too difficult to make my Windows app stetch per user desire?
Posted by Ronald S. Cook at 2/15/2007 7:16:44 AM
We're designing a Windows app to be used at our company. Monitor
resolutions range from 1024x768 and up. It's going to be an Outlook-style
app but in the main area will be one of various user controls displaying all
different sorts of things.
We could go the easy route and fix the form di... more >>
Is there a Microsoft app that will create icons?
Posted by Ronald S. Cook at 2/15/2007 7:11:20 AM
We're creating an Outlook-style Windows app that will have icons in it. I
was just wondering if there was a Microsoft product that I could use to
create icons. I'm not a graphics person but I have an MSDN subscription so
I can get most Microsoft software. I was going to see how far I could ... more >>
Textbox in a from that is loaded into a Panlel Mouse select on txtbox not working
Posted by Brano at 2/15/2007 7:03:27 AM
Hi I am using vb.net 2005 this is a windows application
I am using this functionality in another project I have created this
simple project to show the problem
Basically I have two forms:
Form1 - contains a panel (System.Windows.Forms.Panel)
Form2 - contains two textboxes with some sa... more >>
Process Excel File
Posted by LBT at 2/15/2007 6:52:17 AM
Good Day,
I have a web application created using ASP.NET (with VB.NET). The
application allow user to browse Excel raw data file then the program will
grab data from the file to perform further data processing.
The question is I'm doing this by creating an Excel application everytime to
... more >>
open in a new window issue
Posted by John at 2/15/2007 5:50:36 AM
I have the url and I was using Response.Redirect. Now, I'd like to
have it open in a new browser window. This is a client action,
right? I tried a couple of solutions that I found online, but haven't
gotten anything to work yet.
Ideas?
Thanks,
jpw
... more >>
Export to Excel?
Posted by Ivan Jericevich at 2/15/2007 12:01:19 AM
I am using Visual Basic 2005 Express Edition and would like to export data
to an Excel 2003 worksheet, need to know how.
... more >>
Generic BindingList.SumItems.MyProperty: howto?
Posted by Pieter at 2/15/2007 12:00:00 AM
Hi,
I use a customized Generic List (VB.NET 2.0) inherited from BindingList(Of
T).
I made some methods in this BindingList, to allow me to do some standard
functions on the BindingList-Items.
One of them is for instance SumItems, which returns me the sum of a given
Property of all the I... more >>
VB.net Windows Application- need info on DLL Properties.
Posted by sathya_k_83 via DotNetMonster.com at 2/15/2007 12:00:00 AM
hi i am developing an VB.net windows applications
Need info on the Dll properties
1. How to update the Dll's Properites
2. Is there any method to update the dll's version number automatically or
Not?
3. What are the process to be followed to update the dll's properties
--
Message posted... more >>
How to print DataGridView in vb2005
Posted by vanderlej at 2/15/2007 12:00:00 AM
does anyone have code for PrintPreview and print of DataGridView?
thanks
... more >>
Login to database + getting table's data
Posted by Eitan M at 2/15/2007 12:00:00 AM
Hello,
I am looking for a simple code of login to db
of asp dotnet (vb dotnet code).
with user name + password & simple database.
When login to database - I want to see a table data with all it's columns.
Thanks :)
... more >>
|