all groups > dotnet general > september 2003 > threads for thursday september 4
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
Boxing and UnBoxing VB.NET vs C#
Posted by Andy Read at 9/4/2003 7:38:20 PM
Dear all,
From the following examples. Can anyone please tell me why the C# IL
produces the unbox statement and the VB doesn't?
* Forgive me if the code isn't perfect, I don't have VS.NET on my internet
machine!
VB
Dim X as Integer
Dim Y as Object = X '** Box here.
X = CType(X,... more >>
webservice question
Posted by shahrukh at 9/4/2003 6:03:49 PM
hi how can i debug my webservice,
i cant use messagebox.show("variable values");
so how do i view if my variables have the correct values?
any help appriciated
thank you
... more >>
return a recordset from ado.net
Posted by zarish at 9/4/2003 6:03:02 PM
hi
i am trying to return a recordset from my web service to my c# app.
[WebMethod]
public SQLDataReader getAllCities()
{
string sqlQuery = "select CityName from city";
SqlCommand comm = new SqlCommand(sqlQuery,conn);
SqlDataReader reader = comm.ExecuteReader();
while(reader.Read())
{
C... more >>
better solution?
Posted by zarish at 9/4/2003 6:02:40 PM
hi,
im using a disconnected recordset feature of ado.net in my webservice and
pasing it to my application.
[WebMethod]
public DataSet getAllCarTypes()
{
string sqlQuery = "select distinct(description) from cars";
SqlDataAdapter da = new SqlDataAdapter (sqlQuery,conn);
DataSet ds = new Dat... more >>
Access Application variables in a page constructor
Posted by Henry Rollins at 9/4/2003 4:54:01 PM
Is there any way to access an Application["myVal"] variable in the
constructor of a System.Web.UI.Page object? apparently it's uninstantiated
as of the call to the constructor, which is very frustrating.... more >>
how to implement a background process?
Posted by pokémon at 9/4/2003 3:52:27 PM
Ok, I want to implmement a "backgound process", but the catch is this:
I want to control it via a Web Service, that is to say, the Web Service will
be its API.
What type of application should I create? Windows App?
Also, how would the Web Service talk to the background process?
... more >>
setup project with dotnetfx and
Posted by XenofeX at 9/4/2003 3:50:08 PM
I have fýnished my project which is using access database. I want to deploy
my project to another pc. However dot net framework should be installed on
destination PC. How can i add the dot net framework to my setup project? and
also i need to add mdac2.7 for win98 client.
Thanks a lot
... more >>
Uninstall Assembly from GAC
Posted by Matt Frame at 9/4/2003 3:44:30 PM
I wrote a small assembly to test the process of placing it into the Global
Assembly Cache but now I cannot remove it. When I hi-light and click delete
I get the following:
Assembly 'Assembly Name' could not be uninstalled because it is required by
other applications.
I have signed on as th... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Treeview like control in a listview (eg.. Outlook Express News Browser)
Posted by at 9/4/2003 3:28:36 PM
I would like to make a control that has a tree like function inside a
listview like control. Similar to the news items in Outlook Express.
... more >>
Computer Information in VB.NET
Posted by Jim Scheffler at 9/4/2003 2:02:27 PM
I'm new to VB.NET programming and would like some help on a little project
I've got going.
How would I go about getting computer information on my local computer, i.e.
serial number, hard drive size, memory installed, etc. Then take it one step
further and gather this info for all computers on a... more >>
Printing a pdf in an asp.net app
Posted by bdhanson NO[at]SPAM mcdermott.com at 9/4/2003 1:08:16 PM
Hi,
I am trying to programmatically print a pdf file via an asp.net
application.
I have seen other postings that mention the following code used or
something similar to it in a vb.net app.
Process.Start("C:\Program Files\Adobe\Acrobat
5.0\Reader\AcroRd32.exe", "/p
/h ""C:\Program Files\Ad... more >>
Reading a multiline textbox and wrtitng to text file
Posted by Suresh Kumaran at 9/4/2003 12:42:13 PM
Hi All,
Does anybody know the sytax in VB.NET to write the
contents of a multiline text box to a text file?
Appreciate help.
Suresh... more >>
Property Grid - Displaying a Button
Posted by Karuppasamy at 9/4/2003 11:59:53 AM
Hi All
I am using property grid to change the values of an Object. for a particular
property of the object, the user has to select the value from some other
Form. So i want to display one button next to that property in property
grid, so that user can click this button to show the Form, th... more >>
Forms Authentication and Frames
Posted by Billy Jacobs at 9/4/2003 11:09:48 AM
I have a web application which is using Forms
Authentication.
The main page of the site is a frames page. If I type in
the url to the frames page, it loads the login page inside
of the main frame instead of redirecting to the login page
by itself.
Why doesn't it redirect completely t... more >>
FrontPage vs Visual Studio.net
Posted by Mike Holloway at 9/4/2003 11:06:08 AM
I have been asked to compare and contrast Visual
Studio.net 2003 AND FrontPage 2003 as tools for intranet
web development. Does anyone have opinions or can anyone
point me to any relevant discussion of this comparison?
... more >>
.NET & CITRIX
Posted by Jim Douglas at 9/4/2003 10:57:05 AM
Anyone doing this. Our entire enterprise is CITRIX, including legacy ASP web
applications. Our new development will be with .NET web applications
delivered via CITRIX.
Thanks,
Jim Douglas
... more >>
code-behind not recompiling
Posted by Brett Stinson at 9/4/2003 10:39:45 AM
All:
I seem to have an issue where when I xcopy the files
from my dev box to the server, the code-behind files are
not getting re-compiled when I have made changes. I am
able to make changes in the .aspx file, but the .aspx.vb
file changes never show up. Has anyone else ever run
into ... more >>
Excel Object Library in .NET
Posted by JK at 9/4/2003 10:35:13 AM
How do I import and use the Excel Object Library in .NET?
Specfically I want to use the formula in .NET.... more >>
System.Web.Mail...
Posted by spai NO[at]SPAM immunetolerance.org at 9/4/2003 10:12:56 AM
Hello there,
I have an .aspx page in which I have a TextBox control in the which I
have the following text
string mystring = "<B>this is testing bold</B>"+"\r"+"This is testing
of carriage return";
TextBody.Text = mystring;
now I have the following code which sends the email:
MyMail.T... more >>
C# or VB.net
Posted by Jack Wasserstein at 9/4/2003 10:03:14 AM
I am used to working with Delphi and Paradox and I am now
switching to Visual Studio. Does anyone have a
recommendation as to which language I should use between
c# and vb.net? The majority of my programming centers
around databases.
Thanks
Jack... more >>
WNetGetUniversalName
Posted by Alex Mendy at 9/4/2003 9:49:05 AM
Hi,
Does anyone knows how to implement WNetGetUniversalName
API call in VB.NET
Thanks.... more >>
Service app and lurking Access .ldb file
Posted by Zachariah at 9/4/2003 9:07:46 AM
I've created a Windows Service application that creates a
table in an Access database from the information in a text
file, everytime a new textfile shows up in a certain
directory. It functions but I notice that a .ldb file
(Microsoft Access Record-Locking Information) file remains
after t... more >>
"Error Creating Window Handle" Keeps occuring randomly in my application
Posted by (viditm NO[at]SPAM hotmail.com) at 9/4/2003 9:07:15 AM
Hi
I keep getting the error "Error Creating Windows Handle" in my application and different places in the code. This occurs only to certain users. Its very random and cannot be reproduced in the development environment.
I have an applicatin error logger which shows this error occuring (in the s... more >>
Dropdownlist
Posted by Ana Rita at 9/4/2003 8:19:25 AM
Hello to all.
I=B4m trying to use a string, to build the ListItem's of a=20
DropDownList.
I declare a Public str as string in the webform1.aspx.vb,=20
and in the page load I build the string like this:
str =3D "<asp:ListItem value=3D'0'>Blue</asp:ListItem>=20
<asp:ListItem value=3D'1'>Re... more >>
Regular expression question with .NET
Posted by agaskelluk NO[at]SPAM yahoo.com at 9/4/2003 7:31:03 AM
Dear all
I'm having problems generating a regular expression in .NET, having
just started using regular expressions.
I am trying to validate a user's full name. So far I have:
[\D]* as the regular expression to prevent the user entering digits.
However I also want to disallow the follow... more >>
accelerator keys
Posted by Richard at 9/4/2003 4:23:12 AM
Is there a way to duplicate the accelerator key for
controls which live on separate pages of a tab control.
i.e. to have a button called &Button1 on one tab and
another button called &Button2 on another tab, both
buttons have Alt-B as their accelerator?... more >>
Mixing vb.net and C# in same project
Posted by Rudolf at 9/4/2003 3:05:05 AM
Is it possible to add a vb.net source code module to a c#
project and if so how?
Thanks
Rudolf... more >>
Silent installation to "all users"
Posted by Richard at 9/4/2003 2:59:32 AM
I'm using a .net Setup Project to install my .net Windows
Application. I want the application installed for "all
users". The Installation Folder dialog in the User
Interface Editor includes a nice radio button for doing
just that. But I want the installation to be silent. I
achieve this by... more >>
The ConnectionString property has not been initialized
Posted by TPSreport at 9/4/2003 2:25:49 AM
I log on to the cookieless application, work within it
for awhile, jump to a URL outside the application, then
return to the application. As soon as a db call is
required, I get the error below. web.config also below.
Thanks in advance for your ideas!
TPS
error message:
The Connect... more >>
Window's Installer/Framework
Posted by Melissa at 9/4/2003 12:08:36 AM
Hi, Okay here's the prob, I bought a PrintWorkShop. I
tried installing in and it said it needed the mscrobee.dll
file to function. Okay, So their company told me to
download Microsoft .net framework 1.1. Okay, so I
downloaded that, and tried installing THAT, and then my
computer tells me:... more >>
|