all groups > dotnet general > october 2004 > threads for tuesday october 5
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
Newbie help
Posted by trialproduct2004 NO[at]SPAM yahoo.com at 10/5/2004 11:49:56 PM
Hi all
I am writing application for getting icon of drives and folder.
I want to get icon of 'My computer' through code.
Can some one help me.
Thanks in advance... more >>
Building an array from a csv txt file
Posted by James D. Marshall at 10/5/2004 11:38:40 PM
Help, went brain dead here, need to build a multi dem array from a csv txt
file, just point to a good article and I am sure the old gray matter will do
a doh!.
... more >>
Remoting strangeness.. tcp work but not http
Posted by Tom at 10/5/2004 10:00:26 PM
http://braintech.net.au:8000/question/play.zip
only 57 kb
hi friends I'm struggling with this very simple sample remoting application.
What I am doing is simply testing remoting but when I change the channel to
HTTP it refuses to work
it gives the error of
Exception caught:
Invalid SOAP... more >>
TabControl in a WebForm?
Posted by no0spam NO[at]SPAM yahoo.com at 10/5/2004 8:27:46 PM
I'm trying to figure out how to create a tabControl in a WebForm (I'm
a newbie - sorry if this is a dumb question :) I've been able to set
it up in a Windows Form, but would prefer to get it working directly
in the WebForm.
a) Is it possible to do?
b) If it is, can an anybody point me to som... more >>
outlook: can't get started
Posted by Eric Nelson at 10/5/2004 8:23:07 PM
Experienced, but first time outlook programmer asks...
Each day I get an e-mail containing a gzipped tar archive as an attachment.
I'd like an automated way to (1) save the archive as-is in a particular
folder and (2) unpack the archive with gunzip & tar, either directly from the
mail messa... more >>
Date Comparison
Posted by Kurien Baker Fenn at 10/5/2004 7:59:02 PM
This is the code that compares the two dates
If (CalendarDate1 >= CalendarDate2) Then
MsgBox "Please enter the correct date range", vbOKOnly + vbExclamation,
"SASMonitor"
Exit Sub
End If
The below code is where i get the date from the user.i have two calendar
components in my form.tha... more >>
Getting data through tomcat
Posted by talljames NO[at]SPAM hotmail-dot-com.no-spam.invalid at 10/5/2004 6:57:42 PM
Hi all,
I have written an application in Visual C# that needs to get data from
a MySQL database via a Tomcat Web server (J2EE). Any ideas on the
methodology I should use for this. I looked into Borland's Janeva,
but too expensive for me.
with regards
... more >>
How to know which rows are modified in a database
Posted by Support at 10/5/2004 6:15:44 PM
Hi,
I want to know if I have changed a few records in my database using update /
insert / delete methods, how can i later know which rows have been changed
or modified ?
I know the ExecuteNonQuery method which can give me the "number" of modified
rows, but which rows are changed how do I know ?... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Windows Form DataGrid Control
Posted by **** KiteOregon **** at 10/5/2004 5:39:03 PM
I have a datagrid that is bound to an xml document, i want to add two addnl
columns to my datagrid, each cell in the new column would contain a button.
How do i go about doing this?
Thanks Eric... more >>
Centering on a Label Web Control in ASP.NET from the IDE
Posted by Todd at 10/5/2004 4:37:04 PM
I am adding a Label server control to an ASPX page using the .NET IDE. I
can't
figure out how to center it automatically. I know you can do it by editing
the html and making it:
<asp:Label id="Label1" style="TEXT-ALIGN: center"
runat="server">Label</asp:Label>
Is it possible to do thi... more >>
serialization/webservices/multithreading
Posted by James at 10/5/2004 4:27:02 PM
Here's what I'm kicking around... Really here's what's kicking me around...
Trying to design a webservices system that will allow a client to submit
forms in background threads when client connects to server ( like with
Outlook ). So I think webservices is great for this. I can't quite sort out... more >>
How to use CodeDom to create a class that derives from other class
Posted by Cindy Liu at 10/5/2004 4:15:02 PM
Hi,
I want to use CodeDome to create a class that derives from
MarshalByRefObject. Currently the only thing I can do is:
oClass=new CodeTypeDeclaration("MyClass");
oClass.IsClass = true;
oClass.Attributes = MemberAttributes.Public;
How to let my class derive from
MarshalByRefObject?
... more >>
servicios web y caracteres no permitidos
Posted by Fabian Brussa at 10/5/2004 3:31:13 PM
Hola.. necesito enviar a un servicio web,un string comprimido. Este string
tiene la caracteristica de poseer caracteres no permitidos, ya que cuando
llamo al servicio web, me devuevle un error diciendo que mi cadena posee
caracteres no permitidos. Alguien sabe como podria enviar dicha cadena
com... more >>
images using graphics class
Posted by Gav at 10/5/2004 2:49:33 PM
Hi all,
I'm trying to create a bitmap and then use outputstream to display the
picture:
objBitmap.Save(Response.OutputStream, ImageFormat.Jpeg);
It doesn't give me any errors although the web page comes up with lots of
characters in the page instead of a picture... I then added:
Respon... more >>
aspnet_wp problems with large project
Posted by Tim Mulholland at 10/5/2004 2:18:41 PM
I recently reinstalled everything on my computer:
Windows XP Pro (SP-2)
Office 2003 (SP1)
VS 2003 (7.1.3088)
..Net Framework (1.1.4322)
WMP 10.00.00.3646
Every time i try to open a specific ASP.Net project containing about 175
files The following error is logged under the Application folde... more >>
Any help with store a file in a DB ?
Posted by Rastarizer at 10/5/2004 2:11:32 PM
I use VB .NET 2003 and I want to store into a binary field of a SqlServer
2003 table a File that I got on my hard disk.
Does anyone know how can I do that ?
I also use an OpenFileDialog component to get the file name and the path.
I got already a connection to my DB
and the only problem i... more >>
HTMLEncode
Posted by Shabam at 10/5/2004 1:57:27 PM
Does the HtmlEncode method only translate "<" to "<" and ">" to ">"?
Or does it translate other strings as well?
What if the client were to use hex to tray and circumvent this? Btw, does
anyone know what the hex for "<" would be?
... more >>
.Net Security - Not 'all' pages
Posted by PaulThomas at 10/5/2004 1:33:07 PM
I am fighting with XP-Pro and VS.Net trying to allow some of the pages in my
application to be accessable by 'all' I am using <authentication
mode="Forms" /> and if I Login - everything works fine. My code comes from
a walkthrough (I am learning) and I am currently using
(User.Identit... more >>
open new project with the oldest version of Visual Studio
Posted by mike at 10/5/2004 1:25:08 PM
How I can open my project if I am getting this error?
"Unable to read the project file. This project was created with a newer
version of Visual Studio which in incompatible with your version. You can
only open this project with newer versions of Visual Studio."
... more >>
Browser
Posted by Maldonado at 10/5/2004 1:23:04 PM
Hy everybody
How can I instantiate a object that represents a web browser. What is the
class that do it??
Thank's
--
André Almeida Maldonado - Brazilian - Com orgulho!... more >>
Cannot create Web project. A connection with the server could not
Posted by Michael Knuth at 10/5/2004 12:15:02 PM
I have installed Visual Studio .NET 2003 on my Windows XP Professional (SP2)
laptop. I installed IIS before running through the setup program (which did
not flag any errors during the install process).
I went into VS to create a new ASP.NET project and I get the following error:
The Web s... more >>
Multicast delegate checking for particular delegate
Posted by Edward Diener at 10/5/2004 11:55:17 AM
I am surprised that a MulticastDelegate does not have a particular member
function which checks if a particular delegate is in its invocation list. I
can do this manually of course but a Find, or something like that, should
have been a member function of the MulticastDelegate.
... more >>
Setting control focus programatically on an aspx page
Posted by Todd at 10/5/2004 11:37:02 AM
Does anyone know how to set the focus to a control programatically in my code
for an asp.net app?
--
Thanks in advance,
Todd... more >>
Image
Posted by Maldonado at 10/5/2004 11:29:14 AM
Hy everbody
I need to save an image from a url, like http://192.168.9.9/image.jpg to my
computer. There is a way to do it?
Thank's
--
André Almeida Maldonado - Brazilian - Com orgulho!... more >>
thru proxy
Posted by Sebastián at 10/5/2004 11:22:32 AM
Hi all!
I have an app that needs to connect to internet thru a proxy.
Does anybody knoe how should I write the credentials for my proxy?
Thanks in advance,
Sebastián
... more >>
What is wrong here?
Posted by Andrew at 10/5/2004 11:09:02 AM
Hi, friends,
I have a function which send email with attachments as the follows:
public int SendEmailWithAttachment(string fromEmailAddress,
string toEmailAddress, string subject, string message, string attachment)
{
System.Web.Mail.MailMessage mm = new System.Web.Mail.... more >>
Load XML from the web
Posted by Sebastián at 10/5/2004 11:08:57 AM
Hi all!
I have a quick question. How can I do to load an xml document from the web.
Should I use the XMLDocument or some http class.
TIA,
Sebastián
... more >>
How to change return type of a method in an implementation of an interface?
Posted by Jarmo Muukka at 10/5/2004 11:05:03 AM
Hello,
I have an interface which has a method which returns an interface. I would
like to return a real type in implemented class.
interface IFoo
{
....
}
interface ISomething
{
IFoo Method();
}
class Foo : IFoo
{
....
}
class Something : ISomething
{
IFoo Method(... more >>
Trust an assembly programmatically
Posted by Lidström at 10/5/2004 10:51:56 AM
Hi,
this page:
http://blogs.msdn.com/shawnfa/archive/2003/06/20/57023.aspx
talks about a program called adminui, that can be used to create a .msi
script to automatically trust assemblies with a common strong name. Where
can I find this adminui? I want to add trust of an assembly from an
ins... more >>
how to close messageBox?
Posted by s-galit at 10/5/2004 10:23:03 AM
hi,
i have a module that created a form, and the messageBox is shown in
the closing event , but when the im choosing the "cancel" button in the
messageBox the messageBox and also the form is getting closed
i want the messageBox to close (without the form )?
how to close only the messageBox?
... more >>
Remote ASP.NET debugging: Access denied
Posted by Nils Magnus Englund at 10/5/2004 10:15:30 AM
Hi!
I'm trying to debug my Web application on another server. I'm logged on with
a domain user, and I'm a member of the servers local "Administrator" and
"Debugger Users" groups. Still, when I'm in VS.NET and start the web
application with debugging, I get "Unable to start debugging on the web... more >>
Listview and scrollbars
Posted by ThunderMusic at 10/5/2004 10:12:24 AM
Hi,
I have a problem using the Listview. I want it to display the horizontal
scrollbar whenever the data in it goes beyond the right side. Is there a
property to do it? Some code, etc. Must I subclass the control?
thanks
ThunderMusic
... more >>
Centering on a Label Web Control in ASP.NET
Posted by Todd at 10/5/2004 10:11:05 AM
I am adding a Label control to a page that I am going to be dynamically
setting the text during runtime and I want to center the control. I can't
figure out how to center it. Does anyone know?
Thanks in advance,... more >>
ReDirect - Please Help
Posted by PaulThomas at 10/5/2004 8:39:07 AM
Working with XP-Pro and VS.Net I have set my Start Page to "Home.aspx" but
the application always starts the "Login" page - - - How can I change the
start page to the Home.aspx???
On the login page that displays I have
private void LinkButton1_Click(object sender, System.EventArgs e)
{
bo... more >>
Open an Excel File with DataAdapter
Posted by JASV at 10/5/2004 8:19:01 AM
We are opening an excel file using a dataadapter object.
The tables included in excel file are loaded into a dataset object.
This process works correctly except for this issue:
There is an "Comment" field included in the excel sheet with 255 characters,
but the dataset only read 64 characters... more >>
Connection
Posted by Julien at 10/5/2004 7:15:03 AM
Hi.
I want to build a program to start automatically my internet connexion.
Also it would be better to configure the Shared for Network functionnality.
Is there anything in the dot net which may help me to realize such a thing?
Thanks a lot.... more >>
Date Comparison
Posted by Kurien Baker Fenn at 10/5/2004 6:59:06 AM
I have a problem in comparing two dates.when i compare two dates it's only
taking the days into consideration.for example when i select 10th may 2004 as
my first date and 1st may 2004 as my second date,it will say that 10th may is
greater.what might be the problem.please help me
... more >>
Weird SQL Connection String problem?
Posted by Job Lot at 10/5/2004 6:29:03 AM
I am connecting to my SQL database using following connection string
Dim strSQL = "Persist Security Info=False;Integrated
Security=False;database=myDA;server=myServerNane;User ID=;Password="
Dim conn As New SqlConnection(strSQL)
conn.Open()
conn.Close()
The above code works fine, e... more >>
Suppress duplicate values in a Datagrid
Posted by kelly.pearson NO[at]SPAM po.state.ct.us at 10/5/2004 4:55:51 AM
Is it possible to suppress duplicate values on repeating rows of a
datagrid? For example:
dept. name
------- ------------
acct joe smith
mary jones <--- acct suppressed
payroll mickey mouse
donald duck <--- payroll suppressed
Any thoughts would be greatly... more >>
Trim function
Posted by SK at 10/5/2004 4:09:41 AM
Trim function doesnt actually trim the spaces.Can anyone
help... more >>
getWindowDC erro
Posted by s-galit at 10/5/2004 3:03:06 AM
hi,
im using the getWindowDC but getting the error- " Value of type
'System.IntPtr' cannot be converted to integer "
can someone tell me whats wrong??
Declare Function GetWindowDC Lib "user32" (ByVal hwnd As Integer) As IntPtr
Dim me_hdc As IntPtr = GetWindowDC(Me.Handle)
////the er... more >>
Returning from popup screen
Posted by Logger at 10/5/2004 2:29:05 AM
Help, Want someone's option. I'm calling a popup screen, say form B, to
add/edit a record. In, say form A, I call form B using javascript
window.open in server side code. I need to know when I come back to form A
so I can refresh the screen from the database if a record was added or the
d... more >>
C# Class in VB.NET Project ??
Posted by harry at 10/5/2004 12:44:14 AM
Hi,
I have downloaded a C# ComboBox DataGridColumnStyle Class from
http://www.codeproject.com/cs/miscctrl/datagridcomboboxcolumn.asp
I want to use it in my VB.NET program. I try to reference it but
intellisense doesn't pick it up.
Can I use C# class in my VB.NET project or do I need to c... more >>
hide listbox scrollbar
Posted by Dayne at 10/5/2004 12:35:16 AM
How do I permanently hide the listbox vertical scrollbar?
DT
... more >>
|