all groups > vb.net > february 2007 > threads for monday february 19
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
How to release an mp3 from DX.Audio class?
Posted by Terry Olsen at 2/19/2007 11:26:16 PM
I'm using DirectX to play mp3 files.
Private WithEvents Player As Audio = Nothing
Player = New Audio(Song, False)
Player.Play()
'.......
Player.StopWhenReady()
'.......
Player = Nothing
If I try to do anything to the file afterwards, I get an exception saying
the file is being used by ... more >>
saving picture in DB
Posted by zafar at 2/19/2007 10:50:21 PM
hi, how to save an imge in Database, can any body help me for this...
thanx
... more >>
Need some code for adding picture in DB
Posted by zafar at 2/19/2007 10:04:43 PM
hi,
I am facing problem while adding picture in database and retrieving it
again on a form.
can any body help me in this regard, I need code that would be able to
solve my problem...
thanx.
... more >>
MP3 in VB does not loop seamlessly
Posted by casManG NO[at]SPAM gmail.com at 2/19/2007 6:08:15 PM
I have tried using both the Windows Media Player control as well as
the mciSendString method for playing an MP3 within my Visual Basic
2003 app. The problem is that when the MP3 is looping there is always
a small bit of silence between when the sound ends and begins again. I
have verified that t... more >>
Can't understand why code saying column doesn't belong to DataTable
Posted by Ronald S. Cook at 2/19/2007 3:35:31 PM
In the code below, I get a runtime error where indicated. The error is:
"Column 'TICKETNO' does not belong to table TICKET_DEDUCTIONS."
If I put a breakpoint on that line (so not yet executed) and type
?dedrow(c), It says basically the same thing:
Run-time exception thrown : System.Argum... more >>
SQL Server 2005 Mirroring
Posted by TexasAggie96 at 2/19/2007 2:44:33 PM
Is there a way to programatically cause a SQL Server 2005 instance
failover to its mirror after connection is completed using vb.net
2005? Thanks
... more >>
Parsing an email to find a mailing address?
Posted by Terry Olsen at 2/19/2007 2:43:46 PM
I have a very interesting request. A customer receives orders via email.
The email contains the shipping address, shipping method, email address
and phone number. This information is not all together, nor is it in the
same format in each email as the emails come from different order
houses.
T... more >>
Designer shows combobox but run time does not
Posted by active at 2/19/2007 2:40:34 PM
I tried to use a datasource with a combobox and it didn't work completely so
I build a small test that was much more straight forward then the app.
The test was to see if the combobox dropdown list displayed the correct
data.
However, although the designer shows the combobox the combobox ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
How to span function call params across multiple lines?
Posted by sean.gilbertson NO[at]SPAM gmail.com at 2/19/2007 1:59:49 PM
How do I do this in VB.NET?
---------------------------------------------------
SomeSubOrFuncCall("param 1",
"param 2",
"param 3")
---------------------------------------------------
Right now, this is a syntax error. I thought by adding backslashes at
the ends of the lines it would ... more >>
VB6 Designer Reports Conversion
Posted by Doug B. at 2/19/2007 12:28:08 PM
Hello,
We have an old VB6 project that has Designer Reports (.dsr) in the project.
We attempted to convert the project to VB.NET using Visual Sudio .Net 2003
upgrade wizard. The forms converted ok, but the .dsr report files did not
convert. The conversion wizard response is generic in stati... more >>
PIA for Word2000 -> Word2003
Posted by Thomas Schoch at 2/19/2007 12:14:20 PM
I have an application written in VS2002 and is using word. I have now
upgraded to VS2005 and VS is recommending to download upgraded PIAs.
If I install the upgraded PIA can I strll run the application and use
Word2000/2003/XP?
Tosch
... more >>
Web App Project not available after SP1
Posted by Juan Romero at 2/19/2007 11:36:25 AM
Guys,
I installed VS 2005 SP1 and now my Web Application Project template is gone.
I had the template before because I had installed the patch and the add-in
for it. I uninstalled the template as per SP1 installer's request but after
SP1 was done my WAP template is nowhere to be found.
Ha... more >>
Structure ?
Posted by JerryWEC at 2/19/2007 10:36:49 AM
I want to be able to create a structure like I did in VB6, that have
variables
Name As String * 10
Age As String * 3
for the size of the strings. Can I do this some way in VB.net?
I'm playing with <StructLayoutArribute()> and <MarshalAs()> attributes, but
I'm not really wanting to exp... more >>
deployment .exe file for window application
Posted by martin1 at 2/19/2007 9:20:25 AM
Hi, All,
I use ADO connection to connect DB, when build/run, it generates
interop.ADODB.dll and appName.exe, I want to use only .exe to deployment
this window app, so how to put the .dll file and .exe to generate only one
..exe file, which include .dll? The reason I ask is if deploying on... more >>
vb.net usercontrol inheritance designer
Posted by marfi95 at 2/19/2007 8:50:02 AM
I am trying to setup a usercontrol as a base class, so that I can
derive my usercontrols from it.
the base is pretty simple:
Imports System.Xml
Public Class usrBase
Inherits System.Windows.Forms.UserControl
Public Overridable Sub MethodA()
End Sub
End Class
'derived clas... more >>
DisconnectedContext was detected
Posted by mr_doles at 2/19/2007 8:48:04 AM
I am trying to match users from one database with users in AD to get
an e-mail address. The program works but right before it exits I get
the following message.
DisconnectedContext was detected
Message: Context 0x1a04b0' is disconnected. Releasing the interfaces
from the current context (co... more >>
Read text file which is still updated
Posted by Yaniv at 2/19/2007 8:29:20 AM
Hi
I'm new in VB.NET.
I wrote an application which opens a text file and read it all lines
untill the EOF
this file is open for read only and for sharing asllowed.
every 5 seconds another applications write another line to this file
at the end and I'm trying to read those new lines from my
... more >>
window.showModalDialog in vb.net?
Posted by Garg at 2/19/2007 5:07:47 AM
Waht is the equivalent of
Window.showModalDialog in vb.net?
Please tell me....
... more >>
Minds Drawn a blank
Posted by Peter Newman at 2/19/2007 3:46:24 AM
VS2005 ( vb.net ) & Sql 2005
my minds drawn a blank ..
how can i read the data in field 1 ?
Dim SelectCommand As String = "SELECT * FROM [ClientAdmin] ORDER BY
[Licence]"
Dim Sql_DataAdapter As SqlDataAdapter = New
SqlDataAdapter(SelectCommand, SQL_Conn)
Sql_Dat... more >>
TCPListener - Client Disconnect
Posted by Hiwj at 2/19/2007 3:31:52 AM
I recently upgraded my application from VB6, and was using the Winsock
control. In VB2005 I am using the TcpListener Class and have managed to get
it working, except for one thing:
Is there a way for the server to detect when a client disconnects (i.e.
closes the program abruptly)? In VB6 t... more >>
Joining .wav files
Posted by BigC at 2/19/2007 3:21:49 AM
I have a sub which recevies an array of filenames for .wav files that
I need to play in sequence. I am wanting to join them into one file
which I could then play, but I cannot find any examples of this. Can
anyone offer any ideas/solutions ?
Thanks,
Chris.
... more >>
Write into word document
Posted by prashant at 2/19/2007 2:49:27 AM
hi all,
i am new to .net and my problem is that i want to write some text say
"hello world" inside the word document using .net
the data is supposed to come from the text box.
any help is a big plus
thanks,
prashant malik
... more >>
marking method or property as depricated
Posted by lucky at 2/19/2007 1:37:25 AM
Hi guys,
i want to mark some of my methods and properties as DEPRICATED. is it
possible to do that? and if possible, then how would i do that?
i would appricate any help.
Lucky
... more >>
read/write loop MS Access
Posted by kevin at 2/19/2007 12:45:10 AM
Hi,
Hope you can help - I can't see the wood for the trees any more.
I currently have a local MS Access file.
I'd like to do this in VB.NET:
connect to file (select * from table)
for each row in table
if TEST(row) then
remove row
else
increment a field
end if
end for... more >>
Adding C#-Code to VB-Project in VS 2005 without using DLL
Posted by Sven Rutten at 2/19/2007 12:00:00 AM
Hello
Actually I want to add some C#-Code to a VB.NET-Project in VS 2005.
Normally I creating a DLL and importing that from the VB-Project.
But as I am coding something for a Smart Device (PocketPC), I dont want to
distribute multiple files, I'd like to distribute a single EXE file.
I've... more >>
How can I have global variables?
Posted by MeAgin at 2/19/2007 12:00:00 AM
Hi all,
I want to maintain few variables available for all the classes within the
system. For example the session key and the logged in user'd ID. How can I
do this? I can have a class with all these as properties. But how can I make
a instance of that classes available everywhere?
Than... more >>
Where store application setting value/pairs?
Posted by Ronald S. Cook at 2/19/2007 12:00:00 AM
I want to maintain a list of value/pairs in my Windows application. Where
is the best way to store this? Do I want to use Application Settings and
have a row for each value pair? There will be approx 10 of them... like a
server name/server IP.
I want to be able to bring up those values i... more >>
application with DB and sourcecontroll
Posted by Andy.I at 2/19/2007 12:00:00 AM
Hi
Hope this is the correct newsgroup for this questions.
I'm developing a small database solution, where the db is a sql database,
and the application is a vb.net frontend to the database. Currently I use
SQL server Express as dbms.
What is the best way to store this in sourcesafe? Shoul... more >>
make setup by persion language
Posted by AJahandar at 2/19/2007 12:00:00 AM
|