all groups > dotnet general > august 2005 > threads for thursday august 18
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 31
Web Form Listbox SelectedIndex Preservation
Posted by fripper at 8/18/2005 11:46:39 PM
When I have a populated list box in a web form in VB under VS .Net 2003 and
then select an item by clicking it and then click a button to perform some
function based on the selected item I find that the selectedindex property
of the list box control is -1 ... indicating no item is selected ..... more >>
Hidden fields and session variables
Posted by Dave at 8/18/2005 9:33:38 PM
We are having difficulty saving session variables in hidden fields. Any
suggestions.
Thanks!... more >>
newbie question
Posted by chris.hainlen at 8/18/2005 5:12:02 PM
What does the [XmlElement("Font")], [XmlIgnore()], [XmlElement("BackColor")]
mean in the following piece of code ? What are they used for ? Thanks for any
help or any URL that explains this.
public class EnoughPIData
{
private int m_digits;
private Color m_backColor;
private F... more >>
Right click, button
Posted by John Bailo at 8/18/2005 4:40:33 PM
Is there any way to enable right click on a winform button?
... more >>
Client side Remoting Question
Posted by ME at 8/18/2005 4:39:11 PM
In my server app I perform the following:
//-------------------------------------------
remoteObject remoteObj = new remoteObject();
ChannelServices.RegisterChannel(new TcpChannel(tcpPort));
ObjRef refSubManager = RemotingServices.Marshal(remoteObj, "remoteObject");
In the Client app I atte... more >>
Need simple way to send an Email in .Net
Posted by StevenBarnes at 8/18/2005 4:26:41 PM
I need to have some .Net code be able to send Email using my ISP's SMTP
server. I found some articles on how to use the MAIL FROM: and RCPT TO:
commands that you can stream to a tcp connection on port 25 of the mail
server.
Works nice, but I can only send Emails to addresses on the same domain
... more >>
Web Application Setup
Posted by Arnold at 8/18/2005 3:30:02 PM
Hi,
I am trying to create a Web Applcation Setup Project. I would like it to be
installed in a folder other than "C:\InetPub\wwwroot". How do I get Visual
Studio to do this? If there is any other way to go about this, please let me
know.
Thank you.
Arnold
... more >>
Help deploying database tables
Posted by clsmith66 at 8/18/2005 3:06:05 PM
I am trying to use the Windows Installer to build a setup package for my
application. I found some good code and tools to help me redistribute MSDE
2000 with my application, but I can not figure out how to add a custom
database file to sql server from the installer. Can any one tell me how t... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Way to add local user from WebForm
Posted by Kongdol at 8/18/2005 2:28:32 PM
Hello folks,
I am trying to make a simple web form which can add a local user, and/or
possibly add a user on the remote computer in a same network. (They are not
tangled with Active Directory though.)
Anybody has a good idea how can I approach this..?
I have already tried several methods ... more >>
pros and cons of using stored procedures for VB app ?
Posted by scott at 8/18/2005 11:25:31 AM
Hi,
Just wondering what sort of problems and advantages people have found using
stored procedures. I have an app developed in VB6 & VB.NET and our
developers are starting to re-write some of the code in stored procedures
(im advocating encryption of them). When deploying an application howe... more >>
VS.Net Debugging stopped working
Posted by Mikael Östberg at 8/18/2005 10:16:45 AM
Hello all!
I have been working on a project for some time now and yesterday, my
debugger stopped working.
It is a class library which I run from a Win32 test app, so no IIS involved
at this point.
I can still set breakpoints and when debugging the breakpoints get hit -
just like it would w... more >>
string problem
Posted by john at 8/18/2005 10:13:02 AM
On my form i have a message box called txtItemDesc that displays the french
phrase qualité Père Noël. Now then when i run this code on that text box:
Dim chrArr() As Char
chrArr = txtItemDesc.Text.ToCharArray
Dim pos As Integer
While pos < chrArr.Length
... more >>
The [Service Name] service terminated unexpectedly.
Posted by Shads at 8/18/2005 8:35:11 AM
Hi,
I receive this error in the System Event Log?
Event Type: Error
Event Source: Service Control Manager
Event Category: None
Event ID: 7031
Date: 15/08/2005
Time: 22:22:32
User: N/A
Computer: [Computer Name]
Description:
The [Service Name] service terminated unexpectedly. It has... more >>
MSDE and C#
Posted by Diogo Alves - Software Developer at 8/18/2005 8:12:05 AM
hi there
I am developing a software that needs a database to be shared, I've heard
about MSDE, can someone tell me if
* There is a newer version than MSDE 2000?
* It's possible to use MSDE with C#.Net?
* I would like a tutorial or something about deploying MSDE with my
applic... more >>
SMTP Mail error
Posted by Gerhard at 8/18/2005 8:03:07 AM
Hi,
I some asp.net beta 2 code that works fine on an XP Pro machine, but on a
Windows 2003 Server gets the following error:
System.Net.Mail.SmtpFailedRecipientException {"Mailbox unavailable. The
server response was: 5.7.1 <veachb@quixnet.net>... Relaying denied. IP name
possibly forged ... more >>
vb.net threading
Posted by Kenny at 8/18/2005 7:04:03 AM
I have been working on a project that needing a separate thread....and have
finally worked out a solution (I think). I had made many attempts to use
events and such but to no avail. Then I noticed an MSDN article called
"Safe, Simple Multithreading in Windows Forms, Part1 and Part2". This h... more >>
Redirecting input/output existing console window
Posted by Floris at 8/18/2005 5:19:03 AM
I was wondering if it is possible to redirect the in/output of an existing
(running) console application.
I have been playing around with the Process class, and the start event
arguments. It works then, however, to keep it short, I'm not able to start
the process from within my application.... more >>
system.invalidcastexception
Posted by DavideR at 8/18/2005 12:29:02 AM
I have converted my program from vb6
In the initializecomponent event the following code give a n exception
CType(Me.controlname, System.ComponentModel.ISupportInitialize).EndInit()
Exception first-chance of type "System.InvalidCastException" in
system.windows.forms.dll
Additional informati... more >>
how do i launch the browser with the file I want loaded?
Posted by worzel at 8/18/2005 12:00:00 AM
I want to do a "view file" feature and have the browser launch with the html
file the user selected - is this easy to do (C#)
tia.
... more >>
I want a right click to cause a treenode to become selected, how?
Posted by worzel at 8/18/2005 12:00:00 AM
Can't suss this out for the life of me, googling of no help either.
Okay, new to win forms; I have a treeview with several root nodes, each
having a single level of child nodes underneath. I also havea context
(popup) menu which, what I want, is for it to pop up with certain options
(menuIt... more >>
ADO .NET Transactions rollback ( URGENT )
Posted by João Santa Bárbara at 8/18/2005 12:00:00 AM
Hi all
i have this problem .
i have 2 tables ( they are not master detail ) 2 simple tables, and i´m
doing a simple update just like this
try
Trans = Con.BeginTransaction
..........
DataAdpater1.Update(Table1) -> '10 rows Inserted in DataBase
DataAdapter2.Update(Table2) ... more >>
|