all groups > vb.net > november 2005
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 29 30
Language convert tool
Posted by J.MOUZAKIS at 11/30/2005 11:59:02 PM
Is there a tool that can convert VC++ code to VB
--
J.MOUZAKIS... more >>
Newbie String Q
Posted by Mike W at 11/30/2005 11:56:39 PM
I have :a friend: who needs to extract a filename from a variable
path_filename.
The path/filename combo is stored in a string and is different each time.
Something like
strFile = txtPathFile.text 'were the txtPathFile textbox is populated with
c:\windows\win.com
what is the most stra... more >>
How to build "Kiosk" application in vb.net
Posted by Simon Verona at 11/30/2005 10:19:49 PM
I'm looking to build a "kiosk" style of application in vb.net (using
winforms)...
Writing the application itself is no problem.
What I want to do though is have the PC set so that the application runs
automatically on system startup - is completely modal - no alt-tab's
allowed. I don't... more >>
Error opening new form in vb.net 2005
Posted by ReidarT at 11/30/2005 10:07:02 PM
On my laptop I try to begin a new project, but I get the errormessage
Could not load type
(Microsoft.VisualStudio.Shell.Interop.IVsRunningDocumentTable2 from assembly
Microsoft. VisualStudio.Shell.Interop. 8.0, version=8.0.0.0,
Culture=neutral, PublicKey Token=b03f5f7f11d50a3a
What could b... more >>
Trouble converting VB6 project to VB2005
Posted by Kevin at 11/30/2005 9:32:18 PM
I open the VB6 project in Visual Studio 2005 (not the BETA version)
which starts the conversion wizard. It goes through the whole
conversion process, then comes up with the error:
Unable to read the project file 'MyProject.vbproj'. The project file
"C:\NET Projects\MyProject\MyProject.vbproj"... more >>
Getting text from PDF
Posted by Klaus Jensen at 11/30/2005 9:10:22 PM
Hi!
I need to extract all text from PDF-files for fulltext-indexing purposes.
How do I do that?
I have looked at several PDF-components, but none of them have features to
read the text in the PDF - only create PDF's.
Using an applicaton (or indexing service) to search the pdf is not wha... more >>
Error Message Opening Excel File
Posted by Mark at 11/30/2005 7:49:02 PM
Hello -
I receive the error message:
System.Runtime.InteropServices.COMException: The remote procedure call failed.
when I open an Excel file using from an ASP.Net page.
Imports Microsoft.Office.Interop
Imports System.Runtime.InteropServices.Marshal
Public Sub LoadData()
Dim oExcel As... more >>
VB.NET 2003 WinForms TreeView
Posted by adh at 11/30/2005 7:41:39 PM
Hi,
How can I replace just the icon of 1 single node, without repainting the
whole tree? (Eliminating Screen Flickering?)
Thanks, adh
*** Sent via Developersdex http://www.developersdex.com ***... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Substituting Ctrl for Alt keys
Posted by LisaConsult at 11/30/2005 6:43:02 PM
We upgraded a vb project to vb.net and added many enhancements. The old
project was not an MDI and used buttons for functions like adding a record
(Alt A), deleteing a record etc. This is a data entry app so user speed is
of utmost importance. Now we have an MDI interface, but the users wou... more >>
Checking if a website has been updated
Posted by H-Des at 11/30/2005 6:39:21 PM
Doe anyone know how I can check if a html document on a webserver is modified since my last check? I can't figure it out my self :(
I'm using visual studio 2005.
Thanks in advance,
H-Des
--------------= Posted using GrabIt =----------------
------= Binary Usenet downloading made e... more >>
strings
Posted by Chris at 11/30/2005 6:21:53 PM
I'm doing a hangman game. I'm trying to figure out how to show dashmarks when a word is to be solve. There would be unlimited number of letters. Any hints?
From http://www.developmentnow.com/g/38_2003_12_0_14_0/dotnet-languages-vb.htm
Posted via DevelopmentNow.com Groups
http://www.developmen... more >>
Is VB 2005 Express IDE Full Of Bugs?
Posted by Dachshund Digital at 11/30/2005 5:47:40 PM
I don't know if anyone else is have issues with VB 2005 Express, but we
are, on multiple machines, it crashes during compiles, we have to do
'clean solution' almost very other time we compile.
The IDE hangs all the time. This happens on clean builds of XP SP2,
existing XP workstations, and ev... more >>
Seen any source code for serial port in VB 2005?
Posted by joe at 11/30/2005 5:41:37 PM
Has anyone seen any source code that shows how to use the serial port in
VB 2005 (System.IO.Port)? Especially how to use the asynchronous read?
John... more >>
Reference
Posted by Laserson at 11/30/2005 5:34:11 PM
Hi! I have small question - how can i launch VB.NET application on computer
without installed .NET Framework??
... more >>
Printing Images
Posted by Dennis at 11/30/2005 5:25:03 PM
Using the PrintDocument class, I print a bitmap image sized 267 wide by 201
high to a laser jet 4 printer. The image actually prints 2.88 inches wide by
2.19 inches high. Why doesn't it print the correct size?
--
Dennis in Houston... more >>
VS2005 - How to connect to a TableAdapter in the data layer
Posted by dbuchanan at 11/30/2005 4:59:15 PM
Here are pertinent parts of my solution structure
\\
Solution 'QMS_01
-QmsDataLayer
---My Project
---app.config
---DataSet1.xsd
-QmsUI
---My Project
------DataSources (folder)
---------QmsDataLayer.DataSet1+lkpDeviceTypeDataTable.datasource
---References
------QmsDataLayer
---Form1
//
... more >>
Basic Threading Question
Posted by Flashster at 11/30/2005 4:43:58 PM
I've a form application that, as one of its functions, gets some data from a
web site.
I wanted to run the process on a thread so that the application doesn't get
tied up whilst the web process is running. However, I want to be able to
time out the thread if its 'completed' event isn't trig... more >>
Zipping a file programmatically in vs2005
Posted by ReidarT at 11/30/2005 4:33:36 PM
How can I zip (compress) a file in vs2005 with windows own zip-program?
reidarT
... more >>
Losing Session Values
Posted by ruca at 11/30/2005 3:48:04 PM
Hi,
I have a question for you all...
I have two pages, where one it's for user fill some fields information and
the second page ia a confirmation page.
Here I have a problem, I'm using session variables to pass some values from
one page to another. The problem is that some times (yes, I... more >>
Sending email from vs2005
Posted by ReidarT at 11/30/2005 3:04:57 PM
I use vs2005 and want to send an email with attachment from a windows form
(not web).
Has vs2005 a built in system to do this or do I need to use indy-client or
stuff like that?
reidarT
... more >>
Problem Upgrading
Posted by Materialised at 11/30/2005 2:38:22 PM
I am upgrading a VB 6 project to VB.net.
The VB 6 project uses the Inet control, I have installed the registry update
that came with VS.net to allow me to use VB6 controls within my projects.
However after the upgrade compleates I get the following error, with this
line of code:
Inet.Exec... more >>
sockets, network streams, and richtextboxes
Posted by iwdu15 at 11/30/2005 2:16:03 PM
ok, ive been going at this for a couple months now and i cant figure it out.
i have a program the connects asyn to another comp with te same program using
TCP sockets. then i can send text back and forth, no problem. how can i send
text with formatting, like different fonts, styles, colors etc... more >>
Getting the default printer
Posted by Panos at 11/30/2005 12:59:14 PM
Hi, is there a way that i could get the default printer of the system? I'm
using VB.net 2001. There is a function in SDK called "GetDefaultPrinter", but
i don't understand how to use it.
... more >>
Which event fires on return from a Formxx.show()?
Posted by Hexman at 11/30/2005 12:52:56 PM
I have a tiny application (and yes this is my first vb.net prog) that
has 4 forms. Form1 has info that I want to "refresh" within
listboxes, etc when control returns to Form1.
Form1 has this code.
Dim FormToShow As Form
FormToShow = New fPref
FormToShow.Show()
F... more >>
Help with Deployment needed!! System.IO.FileIOException"
Posted by Hexman at 11/30/2005 12:40:21 PM
OK, so I got my vb.net application to a state where my user can do
some testing. It's been running on my machine without problems.
When I copied all the files from the bin directory to the users
machine and tried to run, it came up with the subject error message.
I searched online and found A... more >>
SharePoint UpdateListItems does not actually update data
Posted by IM at 11/30/2005 12:14:51 PM
I have the following code which does not update anything in SQL.
Other tasks, like getting list of sites and list of documents work just
fine, but update does not seem to trigger anything. I want to be able to
change the column Column1 for a document with the name testDocument.
No errors are r... more >>
2005 COM visible
Posted by Chubbly Geezer at 11/30/2005 12:12:43 PM
I previously used REGASM with .Net to make my classes COM visible.
Is this still required in 2005. There are various options that imply not.
You can amend the assembly to mark it as COM visible and also mark the
classes as COM classes.
However, through trial and error I cannot get this to... more >>
Byte() to String and String to Byte(). How?
Posted by ThunderMusic at 11/30/2005 12:00:30 PM
Hi,
I have to go from Byte() to String, do some processing then reconvert the
String to byte() but using ascii format, not unicode.
I currently use a stream to write the char() (BinaryWriter.Write) from the
string (String.ToCharArray), then use Stream.ToArray to convert everything
to byte(... more >>
Tab Pages
Posted by Matt at 11/30/2005 11:42:39 AM
Sometimes the tab pages in my collection switch places as an EXE. However,
the order is still correct in the design view. Why is this happening?
Thanks,
Matt
... more >>
Adding new record to table adapter
Posted by Vayse at 11/30/2005 11:19:47 AM
When my form loads, I want to fill the TableAdapter
Select Case iAssetView
Case conVIEW_ASSET
' Load 1 Asset
Me.AssetsTableAdapter.FillByAsset(Me.AssetsDataSet.Assets,
stAssetCode)
Case conVIEW_SUB
... more >>
Query results from multiple table dataset
Posted by Stef at 11/30/2005 11:14:02 AM
Hi people,
I'd like to know if it's possible to get DataRows containing data
from different tables that are part of one single dataset?
Example:
Dim ds As New DataSet("myDataSet")
'Load 3 tables with data from my DB
Dim tblEmployees As DataTable = FetchEmployeeData() 'Table name =
"E... more >>
event-handling subs running twice in derived class.
Posted by johncee at 11/30/2005 11:12:12 AM
Greetings,
I created a base class that has a datagrid. I've made it generic as
possible so that any derived classes pass some info to the base
constructor (including a SQL select stmt) & through the base class, any
db table can be displayed/maintained in the grid.
I've made some of the ba... more >>
How to get Windows UI language?
Posted by Mika M at 11/30/2005 11:09:05 AM
Hi!
I need to know which language version of Windows user is using, how to
get it? In my case I need to know is Windows in english or finnish only.
--
Thanks in advance!
Mika... more >>
Add checkbox to items in a datagrid
Posted by Bill Nguyen at 11/30/2005 10:39:02 AM
I need to add a checkbox in front of all the rows in a datagrid so that
users can select/unselect them.
Any help is greatly appreciated!
Bill
... more >>
'Then' is Optional?!?
Posted by Mike Labosh at 11/30/2005 10:33:44 AM
VS.NET 2003, ASP.NET Project with Option Strict turned ON.
(yes, I know this is not the aspnet group. This is a VB syntax thing, not
an ASP.NET thing)
This actually compiles without the "Then" keyword. What gives?!?
If Not Page.IsPostBack
End If
--
Peace & happy computing,
Mi... more >>
can vb.net support WINAPI(_stadcall)?
Posted by jg at 11/30/2005 10:25:50 AM
or would I have to use C# or C++?
... more >>
Events and Threads
Posted by Michael D. Ober at 11/30/2005 10:04:12 AM
Can events generated in a worker/background thread via RaiseEvent be handled
safely in the main/display thread? The contents of the event object will be
used to update the display of a Windows forms application.
Thanks,
Mike.
... more >>
VB 2005 Express Collection(of T) IComparator
Posted by Michael D. Ober at 11/30/2005 9:50:16 AM
In the code below, the IComparator function is never called. What am I
missing?
Public Class ArchiveInfo
Implements System.IComparable(Of ArchiveInfo)
Public FullName As String = ""
Public AccountNumber As String = ""
Public Sub New(ByRef Account As String, ByVal fname A... more >>
Vb6 DLL in ASP.NET Web Application
Posted by C.A. Amaya at 11/30/2005 9:01:59 AM
Hi
I'm trying to use a VB6 DLL in an "ASP.NET Web Application" on VB.NET. But
there is something wrongL. I have the next error:
"
Retrieving the COM class factory for component with CLSID
{2A97D270-98F2-4012-80DA-CD2FDAF41784} failed due to the following error:
8007007e.
Description:... more >>
automatically size open explorer window? (xp)
Posted by Mad Scientist Jr at 11/30/2005 6:58:05 AM
has anyone done this from code?
i just want to automatically size all open and non-mimized windows to
the specified height/width (in twips?)
maybe include a utility that reports the height/width in twips or
whatever of the topmost open non-mimized window
... more >>
Store licensing information
Posted by Nikolay Petrov at 11/30/2005 6:51:32 AM
I would like to store a licensing information in a assembly.
It's easy to crypt/decrypt it, but how to stote it, if my app is
referencing and using this dll?
Is this possible?
... more >>
XP System Colours
Posted by ..:: Kevin ::.. at 11/30/2005 4:40:06 AM
Hello,
Is it possible to pick up the colour values used in the XP themes from
within .net? I am wanting to set the back colour of one of my forms to the
light shade of the theme I am using.
For example, currently I am running the default blue windows XP theme and im
trying to set my f... more >>
Run random class method
Posted by Nikolay Petrov at 11/30/2005 2:23:03 AM
I have a class with couple of methods.
I want to run one of them randomly. Is this possible?
... more >>
How to clean up a source in Application events
Posted by Li Pang at 11/30/2005 2:03:18 AM
Hi,
I write some message into application events under a specific source. I want
to know how to programmatically clean up the messages within this source?
thanks
... more >>
How to make mouse pointer to waiting status for desktop?
Posted by yxq at 11/30/2005 12:00:00 AM
Hello,
Me.Cursor = Cursors.WaitCursor
It will make mouse pointer to become waiting status for my form only, how to
become waiting status for whole desktop?
Thank you
... more >>
#include equivalet..?
Posted by G.Ashok at 11/30/2005 12:00:00 AM
Hi,
Is there any equalent of c langs' #include. I have several #defines (compile
time consts) that I want to include in several classes modules
Thanks in advance ;0)
Regards,
....Ashok
------------------------------------------------------------------------
"It is beautiful for an engi... more >>
VB .Net vs VB 2005 express
Posted by James at 11/30/2005 12:00:00 AM
Hi guys,
I am just wondering if there is a difference between VB.Net and VB 2005
express.
I want to move form vb6 to .net is there a diff?
Thanks
James
... more >>
Question about VS2003 IDE
Posted by Peter at 11/30/2005 12:00:00 AM
While I edit forms under VB.NET2003, One thing often puzzles me: When I
right click a form and popup a contextmenu, the contextmenu usually
contains: "View code","Bring to front","Send to back","Cut","Copy" and so
on. Some time almost all the submenus are enabled, some time only "View code
is en... more >>
Advice on whether or not Microsoft has fixed the buggy combos .. thus worth the move from VS2003 to VS2005
Posted by Earl at 11/29/2005 10:52:34 PM
To upgrade or not? This, to me, is based upon whether or not Microsoft
has -- at least -- fixed the buggy controls from VS2003:
Combo (clearing and binding context issues)
Checked ListBox (checked items losing status when control goes visible)
Datagrid (header alignment to the right smashes i... more >>
transmit file to ftp server
Posted by Mike W at 11/29/2005 10:39:40 PM
I'm looking for sample code on how to send a file to an FTP server with
vb2003. I've been running through a sample in the programmer's cookbook but
it seems to only cover downloading files which is interesting but not what I
need.
Thanks in advance.
-m
... more >>
|