all groups > vb.net > december 2007
Filter by week: 1 2 3 4 5
Problem with ambiguous classes in my project
Posted by Nathan Sokalski at 12/31/2007 5:40:25 PM
I have several CustomControls that I have written for my project. However,
when I try to compile I recieve the following warning & errors:
Warning 32 Could not resolve this reference. Could not locate the assembly
"nathansokalski_com_test, Version=1.0.0.0, Culture=neutral,
processorArchitec... more >>
A happy 2008 | 01100001 00100000 01101000 01100001 01110000 01110000 01111001 00100000 00110010 00110000 00110000 00111000 00100000
Posted by Michel Posseth [MCP] at 12/31/2007 4:25:35 PM
In a few moments from now my wife is draging me out of my "computer room" to
visit some family and wait for the new year 2008 to arrive
So from me an my 4 best friends Dimension 9400 , HP NCW series , Self
built AMD XP , and X-Box 360 premium (new in the family since christmas )
01101101 0... more >>
doc to docx
Posted by asp.net at 12/31/2007 2:46:38 PM
hello gents,
i have a similar thing to do. i am not much into .net yet. i am currently working on asp website which generates doc file on a fly. i now want to convert this doc to docx file. i am not sure this can be doable in asp vbscript. any help or advice on this is much appreciable.
thanks
ib... more >>
Thread Locking
Posted by OpticTygre at 12/31/2007 2:24:49 PM
I have a class which represents an HTTPListener (call this
"aMessage"). The class accepts http requests, and responds to those
requests accordingly using simple code copied from the MSDN. What I
need to do however, is something that I can't seem to find in the
documentation.
My ProcessReque... more >>
pass parameter from windows service to windows application
Posted by vishruth at 12/31/2007 11:12:01 AM
Hi,
I have 2 applications running, one Windows application project and the other
windows services project.
I want to call my Windows application in my windows services.
I want to run them as seperate process.
If my windows application starts running,only if it completes fully,
then my windo... more >>
VB.Net project throwing errors when executing Clean Solution
Posted by Mark at 12/31/2007 11:08:00 AM
Hi...
We've got one vb project in our solution (most of our code is written in
C#). It references 5 other assemblies. For some reason, when we try to
Clean Solution, the VB project throws 43 errors and 1 spurrious warning.
The 43 errors all center around the other referenced assemblies (... more >>
Remoting help
Posted by tomb at 12/31/2007 9:42:31 AM
This is my first remoting projct, and the documentation and samples I
have found don't do much to make clear how to approach this structure.
Everything I have found shows only a small piece of the concept.
Could someone please show me an example of how to remotely instantiate
an activex obj... more >>
error installing .net 3.0 update
Posted by cj at 12/31/2007 9:42:13 AM
I've been installing VS2008 and getting all the updates. Microsoft's
update site says I need "Update for .NET Framework 3.0: x86 (KB932471)"
but I've tried 4 times now to get it and it always end with an error
"Error Code: 0x66A". I've googled this and it seems I don't need this
update if ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Unhandled exception
Posted by nyoussef at 12/31/2007 6:07:01 AM
When I run below sample code I get the error message "attempted to read write
protected memory. This is often an indication that other memory is corrupt"
if the records reteived from the DB exceeds 300 or 400 records:
'VB libraries
Imports EX_MaDll
'System libraries
Imports System.IO
I... more >>
Filling a list box from a table
Posted by John at 12/31/2007 3:48:26 AM
Hi
VS2008. I have a table in an access database. How can I fill a list box with
a column from the table?
Thanks
Regards
... more >>
Random listbox item selection with no "repeat"
Posted by kimiraikkonen at 12/31/2007 3:10:58 AM
Hi,
I'd asked similiar question before but couldn't get help. I have a
listbox and and items (eg: 10 items, or more or less,depends). I want
to create a shuffle (random) list with NO "repeat".
I mean, think about media player's playlists, like them, i want my
playlist item to be selected for ... more >>
newbie question - breaj on all errors
Posted by Guy Cohen at 12/31/2007 2:14:00 AM
Hi all
In vb6 I could "break on all errors" - meaning the row that caused the
problem was marked and the error was presented.
How can I do that in vb.net 2005 ?
Currently I see abort/retry/ignore...
TIA
Guy... more >>
Creating resx file for strings to be localized in VS2003
Posted by tesis at 12/30/2007 3:42:41 PM
Hi all gurus,
I've seen that VS2005 has a nice new feature (string refactoring) for
C#, namely a tool to generate resources from string. Since it's not
available in VS2003, I started creating a new macro, to be used for
localizing strings embedded in .vb files, by creating resources in a
resx... more >>
Converting MS Access to VB
Posted by rojas@astound.net at 12/30/2007 3:03:00 PM
I need to convert an Access 2002 application to VB. Does any know of a
good converter that would save me time? Not necesseraly that it would
be a perfect converter, but one that would save me hours of coding.
Thanks.... more >>
Setup Program Question
Posted by Joe at 12/30/2007 11:54:25 AM
Hi,
I am using VS2005 and am attempting to create a Setup project
to install my VB.NET application onto the customer's target computer.
I am having difficulty setting the Target property for the
Desktop shortcut. It only allows me to select the Application
folder. I cannot... more >>
IntelliSense - VS2008 - ??
Posted by Timothy at 12/30/2007 9:28:42 AM
Hi,
I'm a C/C++/C# programmer going over VB and trying to learn it. The one
thing I love about VS is intellisense, but it is very hard to get used to
the VB way, especially after I select an item in the popdown list and press
Enter to put it in. VB in VS seems to go to the next line. At any r... more >>
vb.net 2008 problem writing to sql 2005 express database
Posted by plonk at 12/30/2007 12:37:11 AM
Hi
I am trying to write to a sql database, but the Update method is not
writing the data to the database.
I can view the data coming into the dataset grid ok and no errors are
generated.
I'm really stuck now :/
Private Sub addrow_Click(ByVal sender As System.Object, ByVal e As
System.Ev... more >>
System.Drawing.Color
Posted by Greg at 12/29/2007 7:53:01 PM
In code I have set the back color of my forms to one of the
System.Drawing.Color options. Anyway, I would like to make these colors
available to my users and let them chooose one for themselves. I know how to
show the color dialog, but I'd like to make these colors available to my
user's ins... more >>
filesystem watcher and more
Posted by hugomind at 12/29/2007 5:47:35 PM
Hi,
I need to catch the domainname/username as additional information when
the Filesystemwatcher throws en event ?
If someone is creating, deleting or changing perms of a file I would
need to know who it was.
Could some give me a hint how to accomplish this ?
thnx,
Hugo... more >>
Registry
Posted by Muhammad Bilal at 12/29/2007 2:24:00 PM
Hi.
Can we masked the value of a string in registry as '*' or any other
character that the original value of a string cannot be seen but still
avialable in vb.net
Regards
Muahmmad Bilal... more >>
Disposing "parentform"
Posted by Ger at 12/29/2007 11:23:01 AM
Hi,
I use vb2003 on sbs2003 with SQL2000.
I have a form with IEWebControls. Under the MultiPage I have some
aspx-files, which are selected in an iFrame.
In the codebehind I want to dispose not only this MultiPage-aspx, but the
"Parent" too? How can I accomplish this?
Any help is appreci... more >>
Is there a free library for loading M3U playlist files' paths into a listbox?
Posted by kimiraikkonen at 12/29/2007 8:45:28 AM
Hi,
The question is exactly the same with thread subject.
It would be great if there's a free M3U library which provides loading
M3U / PLS playlist items' paths into a listbox for VB.NET 2005. Vice
versa (saving capability) also would be nice
Thanks!... more >>
Character conversion ASCII to UTF-8?= Old Accesstable to Unicode
Posted by lexj at 12/29/2007 6:28:55 AM
First of all a great thanks to all people, no one mentioned, no one
forgotten, that devote their time to give answers to people like me,
having been stuck up with a small problem. There is a Chinese proverb,
" The one that ask's questions seems to be stupid, but the one never
asking questions re... more >>
Writing listbox items into text file
Posted by kimiraikkonen at 12/29/2007 1:56:23 AM
Hi,
I can read from a text file and insert text file's contents into a
listbox whose format is line by line using this code:
Dim reader As String
reader = My.Computer.FileSystem.ReadAllText("c:
\bookmarks.txt")
Dim strs() As String
strs = Split(reader, Environment.... more >>
Zip up files
Posted by Fred at 12/28/2007 9:21:50 PM
I have a number of files that I need to zip up and upload to a web site.
Can anyone tell me how to create a .zip file and add files to the .zip file.
You can assume that the PC on which this program will be run will have XPPro
or Vista.
Thanks for your help
Fred
... more >>
ReportViewer Not Found
Posted by Joe at 12/28/2007 7:26:56 PM
Hi,
I developed a VB.NET Windows program that gets its data from
an MS Access database and displays information via the ReportViewer
component. This is using VS2005 with .NET 2.0.
I sent it to my customer who loaded it on his target machine
and received this error messa... more >>
CreateGraphics help in VB.net
Posted by bromptonville-un@yahoo.com at 12/28/2007 3:25:33 PM
Hello,
I'm an amateur in VB6, and I just switched to VB.Net (2003) .
However, I've never used graphicals functions in neither those
language... (Last time I drew something was in VB6).
I just tried the following code and it is not working properly:
Private Sub Button2_Click(ByVal sender ... more >>
what source code files to backup for Windows app
Posted by vbDavidC at 12/28/2007 2:38:04 PM
I want to make backups of a project and email it to myself via email.
Even though I have unlimited email storage I don't want to waste any
more space than I have to. And I also want to know what files I
absolutely need and what files I should keep just to make things
easier.
Right now I have... more >>
Combobox
Posted by Muhammad Bilal at 12/28/2007 2:24:02 PM
Hi
How items can be added in a combobox at run time using values from a table.
But I want to do it only through code i.e making own connection string,
binding, datasource, displaymember etc.
... more >>
Input Languge
Posted by Muhammad Bilal at 12/28/2007 2:14:02 PM
Hi.
How Input language and Keyboard layout/IME can be changed at runtime.
... more >>
how to safely remove usb in vb.net?
Posted by prism via DotNetMonster.com at 12/28/2007 12:38:12 PM
question: how do we safely remove a USB device in vb.net?
for example, in the vb.net application, we open some files from a usb device,
and after that, we want to "safely remove" it without doing it manually from
the taskbar.
how do we do it? can anyone help me?
--
Message posted via ... more >>
can we convert .doc and .txt files to pdf?
Posted by jabslim via DotNetMonster.com at 12/28/2007 12:06:41 PM
i just wanna know how to convert .doc(ms word 2003)/.docx(ms word 2007) and .
txt(notepad) into PDF files within vb.net. can anyone help me how to do this?
--
Message posted via DotNetMonster.com
http://www.dotnetmonster.com/Uwe/Forums.aspx/dotnet-vb-net/200712/1
... more >>
If not .Net then what?
Posted by jim at 12/28/2007 8:09:16 AM
In a thread about wrapping .Net applications using Thinstall and Xenocode,
it was pointed out that there may be better programming languages/IDEs to
use for the purpose of creating standalone, single executable apps.
My goal is to create desktop applications for use on Windows XP+ OSs that
... more >>
Text-to-Speech Class ActiveX control crashes everytime
Posted by kimiraikkonen at 12/28/2007 12:49:59 AM
Hi all,
In Visual Basic 2005, i added "textToSpeech Class" from COM Components
and i dragged it onto my form as a ActiveX control with no problem.
The problem is that it doesn't do what it claims.
For example:
If you do a very simple code to speak something using:
AxTextToSpeech1.Speak("He... more >>
Exception frm HRESULT : 0x80040202 in OPC Client OnDataChange hand
Posted by Prashant Khonde at 12/27/2007 9:10:02 PM
Hi all,
I am developing OPC Client in VB.net. I have developed the code and reading
OPC Items on Sampling as well as event based (OnDataChange). When I am
working with local machine then my code works fine with both Sampling as well
as OnDataChange, but when I am trying to read data from Remo... more >>
where is the build events button in Visual Basic Express 2008
Posted by Flashpro at 12/27/2007 7:32:01 PM
i have googled this question but cannot find an answer. i'm running windows
vista and i'm using Visual Basic Express 2008. i know the build event button
SHOULD be in under the compile tag but i can't find it. i'm used to Visual
Basic 2005, so some help would be appriciated. i need to find the ... more >>
DataGridView - Adding Images to a Record
Posted by samadams_2006@yahoo.ca at 12/27/2007 4:33:07 PM
Hello,
I have an unbound DataGridView on a VBForm, and I would like to
display an icon or image in the first column of a record to indicate
what type of record it is. For example, error (display an error
icon), warning (display a warning icon), information (display an
information icon). I h... more >>
Driving word mail merge
Posted by Joe M. at 12/27/2007 4:29:34 PM
What is the best method for driving a word mail merge from data obtained
from a vb form? Is it Word version specific? That is, will we need to
rebuild the app after upgrading to Word 07?
thx.
... more >>
Dataset from XML file
Posted by tshad at 12/27/2007 12:31:51 PM
I have a table I am getting from an outside program that I am trying to read
to build some Sql Tables and insert data from.
The problem is that the following table puts all the tags together, instead
of separting them by the different forms.
**************************************************... more >>
Web response / request and HTTPS?
Posted by Smokey Grindel at 12/27/2007 11:18:26 AM
Can the web response and web request objects work with HTTPS? Never tried it
and think I ran into a situation where I need secure responses.. thanks!
... more >>
Callback on Named Pipe question
Posted by dgk at 12/27/2007 10:41:34 AM
I trying to use a named pipe but can't figure out how to get the
callback to work:
Module Module1
Private ps As System.IO.Pipes.NamedPipeServerStream
Public Sub main()
Application.EnableVisualStyles()
Try
ps = New System.IO.Pipes.NamedPipeServerStream("Test")
ps.Beg... more >>
"reference required to assembly" But reference does exist in vbpro
Posted by Paul Linville at 12/27/2007 8:52:03 AM
I have a solution that has both c# and vb.net projects. Visual Studio 2005
sp1.
One of the lower level asseblies "Utils.csproj" is a c# project that
references a 3rd party dll "Framework.dll".
Other c# projects reference Utils.csproj (Utils.dll) just fine. However
when referencing the ... more >>
.Net packaging/wrapper application?
Posted by jim at 12/27/2007 5:28:39 AM
I am looking for an application that will wrap my .Net application (and any
needed .Net parts) into a single exe.
I know of Thinstall ($4,000 for application and per copy fees for your exes)
and of Xenocode (~$1,500 plus ~ $12 per copy of your exe). But, I'd like
something that is actually... more >>
Best way to show mulitple column data
Posted by Jwalant Natvarlal Soneji at 12/27/2007 2:12:38 AM
Dear friends,
I have used datagrid in asp.net for almost every possible use.
But in windows forms it comes in a different manner.
Can someone please suggest me what to use to show data from multiple
columns (as in general... order id, sales id, order name, person
name..)? Is datagrid is the onl... more >>
Linq to sql Delete
Posted by news.microsoft.com at 12/27/2007 1:48:13 AM
Hello people:
First of all forgiveness for my English.
I am working with Linq to SQL, Visual Studio 2008 and SQL Server 2000.
When you delete a record and then go back to Insert (ie, insert a record
with the same primary key)
and I run SubmitChange it generates an key duplicate exception.
I... more >>
What is ECMAScript
Posted by Academia at 12/26/2007 10:41:42 PM
Regex class has the option ECMAScript which can set.
I searched the Internet and got about a million hits that reference
ECMAScript but none that defined it.
Can you tell me what it is used for.
I let the user of my text editor search using regular expressions and do not
know if I shoul... more >>
Dim withevents - array of classes
Posted by Guy Cohen at 12/26/2007 10:13:01 PM
Hi all
I googled some and found that I can no longer - dim withevents myclassname()
I also understand that I can use addhandler...
But... what if I do not know the amount of classes that will be created ?....
What am I trying to do:
I have a process that scans a directory for files tranxxx... more >>
OleDbSelect Help
Posted by Perry Langla at 12/26/2007 6:07:24 PM
I can not seem to figure this out, please help. This program worked
perfectly in Visual Studio 2003. The program gets the information from an
Access Database. I am using OleDbSelectCommand to select certain records.
When I run the program and click Button1 the test works OK. The problem is
w... more >>
Dim arry
Posted by LVP at 12/26/2007 5:54:38 PM
what is different
Dim pic as Byte()
and
Dim pic() as Byte
me no understand.
much thanks
lvp
... more >>
How can you Programmatically Map a Network Drive?
Posted by Dean R. Henderson at 12/26/2007 3:11:53 PM
I am using VB code to create a Console application that is started on a
Windows 2003 Server via a Scheduled Task. Files are moved to and/or from a
Network Resource that I want to be setup as a Mapped Network Drive.
Currently, the application is being started with a user id based on the
Sche... more >>
|