all groups > dotnet faqs > october 2003
Filter by week: 1 2 3 4 5
Ccopying a datatable content from an untyped dataset into a table which is inside a typed dataset
Posted by Nedu N at 10/30/2003 2:36:12 PM
Hi All,
I am facing problem in copying content of table from a untyped dataset into
to a table inside the typed dataset. I wanted to copy the data into typed
dataset in order to ease the further processing using typed references.
DataSet ds = getDataFromDB(); - i am getting the dataset ds f... more >>
c#:only put "using blah.blah.blah" once instead of every page?
Posted by evolve at 10/30/2003 9:32:21 AM
(in c#) does anyone know a way of having the "using" declaration just the
once
for example
in my website i keep having to put
using System.Data.SqlClient;
using System.Data;
using System.Configuration;
just so that i can get something out of the database
surely there is a... more >>
Do threads behave Differently on Windows 98?
Posted by Codemonkey at 10/29/2003 4:46:41 PM
Hi,
Sorry for the cross group post, but I couldn't find a group that deals with
threading in .net.
Anyway, I've noticed a difference in the way my program acts on Windows 98
than it does on WindowsXP and was wondering if anybody can explain this
behaviour.
My application runs in the back... more >>
SubQuerying Vs Joining
Posted by Awah Teh at 10/29/2003 3:49:19 PM
Which is most effective (consider the query below for an example)?
Please give me some explanation (FMI:) as to why one is faster over the
other.
--Both Queries are designed to get the users information of users that
received passes in the Year of 2003
--** ***************
--** Q... more >>
Why is System.DateTime a structure?
Posted by Pram at 10/29/2003 1:17:38 PM
I am curious why did Microsoft write System.DateTime as a structure instead
of a class?
Maybe for backward compatibilty with any existing old code?
FYI, one of the differences between structure and class is we can set the
structure to Nothing.
... more >>
DataTable and DataView
Posted by Ruslan at 10/29/2003 1:09:29 PM
Hello,
I have:
BindingManagerBase bm;
DataTable myTable;
DataView myDataView
DataGrid myGrid;
myDataView = myTable["tab"] // data in table exist
myDataView.Sort = "field1";
myGrid.DataSource = myDataView;
bm = this.BindingContext[myDataView];
the dat... more >>
Question about dotnet server security
Posted by Jeff Fink at 10/29/2003 9:55:14 AM
We have a server with dotnet installed that is part of our domain. We're
using the server for web hosting. We don't want the users to be able to
access anything outside of their respective folders on the drive. Do we
need to do anything different that we would for a normal user without
dotnet... more >>
vsdisco not working
Posted by Prasanna Padmanabhan at 10/28/2003 11:08:36 AM
Hi,
Could one of you please tell me how to view all the web services exposed by
a web server using the vsdisco file? I followed MSDN instructions and
uncommented the vsdisco httpHandler element in the machine.config. But it
still does not list all the web services on the machine when I go to... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
AppDomain Issue...
Posted by Satinderpal Singh at 10/27/2003 12:55:43 PM
Hi All,
I have an EXE, I load the DLL from that exe in a seperate AppDomain. (I have
not given reference to that DLL from the EXE).
Now, i call some commands of that dll from the EXE, and in the background i
try to delete the DLL, it does not allows (fair enough).
Now, I unload that AppDo... more >>
ASP.NET: FREE HOSTING WITH SQL SERVER?
Posted by Rafael Lopez at 10/25/2003 6:46:48 PM
Do you know any free ASP.NET web hosting with SQL SERVER support?
Thanks in advance.
... more >>
File Size
Posted by Paul Paiva at 10/24/2003 8:01:46 PM
What is the dot net equivalent for FileLen in VB6, which returns the size of
a file in bytes?
Thanks
Paul
... more >>
Creating trial version software
Posted by Nima at 10/23/2003 6:37:35 PM
Any idea?
I'd like to know what software or library you use in order to do so.
Many thanks.
... more >>
scorollable control on web Page??
Posted by (jag_chat NO[at]SPAM yahoo.com) at 10/22/2003 4:23:08 AM
I would like to know whether there exists any scrollable control for a web page design....and display the information in the form of columns (just similar to datagrid or table). If it works only for IE also, its ok.....
Even I would like to know, how could I get the excel sheet to be displayed ... more >>
Query on DataView.Sort Property
Posted by denzilpereira NO[at]SPAM lycos.com at 10/21/2003 2:31:32 AM
Hi,
I am using the DataView.Sort Property (on a DataView column) to sort
the View based on some condition.
Now the column that I need to sort contains characters and HTML code
that should not be considered when sorting is done. (e.g. -> <B>,
<FONT ...>, " , ' , etc...).
To illustarte:
Ex... more >>
Visual Studio .Net 2003 IDE Hangup
Posted by Manuel Bua at 10/20/2003 7:12:31 PM
Hi everybody,
i'm developing an application in Visual C++ .Net 2003.
When i open the project (it contains 2 form) the IDE hang and i must
terminate it via TaskManager. In order to open my project, i need to rename
the project directory, adding a char for example, then the IDE works great.
Any i... more >>
Component version management
Posted by S. Barthes at 10/20/2003 6:37:19 PM
Hi all,
VB6 allowed binary compatibility to allow using an old component with a
newer base component.
How can this be achieved when working with VB.Net?
Thanks for your help
Kind regards,
--
Stéphane Barthes
... more >>
Voice over IP and .NET
Posted by Sergey Muschin at 10/20/2003 2:40:04 PM
Hi there,
could You please suggest how to handle Voice over IP ptoject in .NET
environment?
TAPI 3.* ?, something else ?
Regards,
Sergey Muschin
... more >>
NEWBIE question: web reference to a proxy class
Posted by Amine Zejli at 10/19/2003 12:12:58 PM
Hi,
I have used wsdl.exe to get the proxy class from a wsdl document that is
saved locally on my comp. Can anyone please tell me how I can add a web
reference of the proxy class that I created to my .NET application.
Thank You
Amine
... more >>
PLEASE HELP: injecting a wsdl doc into a .NET application
Posted by Amine Zejli at 10/19/2003 1:23:31 AM
Hi,
I am trying to inject a web service into my .NET application. The thing is I
only have the wsdl doc and it is just a text file that is saved on my comp.
can anybody help me and tell me how I can inject that local wsdl document
into my studio .NET application.
Thank you all very much
amin... more >>
PLEASE HELP: injecting a wsdl doc into an application
Posted by amine zejli at 10/19/2003 12:47:12 AM
Hi,
I am trying to inject a web service into my .NET application. The thing is I
only have the wsdl doc and it is just a text file that is saved on my comp.
can anybody help me and tell me how I can inject that local wsdl document
into my studio .NET application.
Thank you all very much
amin... more >>
ActiveX Controls in .NET
Posted by Chris at 10/18/2003 10:38:44 PM
It'll probably seem like a really dumb question but I was
wanting to know whether you can develop ActiveX controls
in .NET using C# or whether its been replaced with
something else like using windows forms components in web
forms pages. Basically just wanting to know if there is
any client... more >>
Richard Grimes' book "Developing Applications With Visual Studio.NET"
Posted by Andy Turner at 10/15/2003 4:32:25 PM
[Hopefully Richard can answer this one himself!]
I'm thinking of buying this book because I like the angle it's coming
from and I found his previous DCOM book more enlightening than most.
The thing is, it's 18 months old now (an age in .NET terms!), and some
stores (such as www.compman.co.uk... more >>
Can't find the relevant newsgroup....
Posted by Jim at 10/15/2003 12:25:40 PM
In visual studio .Net (2003) can you lock the tool bars in place, So to stop
the stupid things moving about when you switch between different views?
Cheers
Jim
... more >>
How can I set Option Explicit systematically in VB.Net?
Posted by eric_mamet_test NO[at]SPAM yahoo.co.uk at 10/15/2003 8:26:29 AM
There used to be a checkbox in VB6 to do that in the Development environment.
I'd like to generalise this in all my VB.Net (and ASP.Net) scripts.
Is it possible through some Visual Studio setup?
Thanks... more >>
dll ?
Posted by Olivier DENIS at 10/14/2003 2:15:20 PM
hi,
how to create DLL . that i can use in asp .net , vb .net and office 97 ?
thanks 8)
... more >>
How to Reboot ?
Posted by Joe Longo at 10/14/2003 10:22:26 AM
I have a service in written in vb dotnet. During execution of this service,
I want it to Reboot the system it runs on. How can I do this with or without
the framework.
... more >>
Key Validation
Posted by Paul Paiva at 10/13/2003 8:11:20 PM
In the VB6 days I was successfully able to validate the keys typed into a
text box, to allow only numeric keys, or whatever the need was. I would
simply trap for those values in KeyCode or KeyAscii in the key_down or
key_press events. When I wanted to disallow a given key, I would set the
valu... more >>
Is it possible to update records when read by an SqlReader object?
Posted by Rico Alexander at 10/13/2003 3:09:08 PM
If not, how do you update records that you're reading in a sequence when
using vb.net?
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!... more >>
Datagrids
Posted by abulhasanlakhani NO[at]SPAM softhome.net at 10/11/2003 8:34:33 PM
Hi all,
Is there any way i vb.net to manipulate the datagrid completely like
all the columns and headers. i have seen in foxpro that every
individual column has a textbox by default and we can completely use
it as a normal texbox.
please help... more >>
page showing aspx code?
Posted by Mitch at 10/11/2003 9:33:11 AM
I'm installing a .Net application but when I try to load
the aspx page, I get the source code for the aspx page
instead of the page.
Any idea what is causing this... or what needs to be done?
Thanks,
Amit... more >>
Trace: Can anyone suggest a good tool to catch trace messages?
Posted by Rukmal Fernando at 10/10/2003 3:56:20 PM
Hi,
I've been looking for a good Trace message monitoring tool to monitor trace
messages (through System.Diagnostics.Trace.WriteLine() etc).
I need it to collect traces from non-EXE code (esp. WebParts).
Can anyone recommend a good tool for my purpose?
Many thanks in advance.
Rukmal.... more >>
Encryption
Posted by Robert Vabo at 10/8/2003 5:28:47 PM
I have to make an Encrytion function that works for both VB.NEt and VB 6. I
use the System.Security.Cryptography in VB.NET and I want to use the same
type of functions in VB6.
I USE DPAPI to store some keys in registry and I want to use the same keys
both in VB6 and VB.NET. The DPAPI works fin... more >>
Edit files with no extension
Posted by Alan Cantor at 10/7/2003 10:43:47 PM
Still trying to figure this one out:
I want to edit aspx files that do not have the .aspx extension. Is this
possible while still getting the statement completion, text colorization and
highlighting in Microsoft Visual Studio Dot Net Enterprise Architect?
I wish to use an alternative extens... more >>
Graphical Editor
Posted by Microsoft at 10/7/2003 7:36:32 PM
I have to create the Graphical Editor on the top our windows application
Currently is VB style , but should be migrated to .NET
Please shed light upon creating Graphical Editor (drag and drop, connection
line) like Rational Rose, Visual Modeller. I am looking the algorithm
... more >>
Printing in WinForms Using c#
Posted by Arun Kumar at 10/7/2003 5:49:34 AM
Can anybody explain me about printing windows forms using
C#.And also clipping some portion of the screen.... more >>
Code behind Procedure
Posted by Jim Ciotuszynski at 10/6/2003 11:06:02 AM
Is it possible to call a "code Behind" procedure from a HTML/web Forms
("runat = server") control?
Thanks,
Jim
... more >>
How to compile a program in VB.NET?
Posted by Marco Vajda at 10/5/2003 8:13:52 PM
I am really beginner in programming. I would like to compile a program in
VB.NET, but I don't know how to do it. I have just put some buttons, text
boxes, datagrid and picturebox on form.
Thanks, Marco
... more >>
inserting/reading images from database
Posted by Andrija at 10/4/2003 11:53:13 PM
How can I insert (through sql) images into database (.mdb for example) and
how to read them (into picturebox)?
Thx
... more >>
Server Application Unavailable
Posted by Ray Valenti at 10/4/2003 5:29:05 PM
When attempting to run a C# aspx web form Visual Studio this message is
returned:
"Server Application Unavailable
The web application you are attempting to access on this web server is
currently unavailable. Please
hit the "Refresh" button in your web browser to retry your request. "
If a... more >>
Check this important package from Microsoft Corp.
Posted by Lee Simmons at 10/4/2003 5:02:55 PM
Microsoft Customer
this is the latest version of security update, the
"October 2003, Cumulative Patch" update which resolves
all known security vulnerabilities affecting
MS Internet Explorer, MS Outlook and MS Outlook Express
as well as three newly discovered vulnerabilities.
Install now to ... more >>
How do I download a file through the Web ?
Posted by Sebastián Sassi at 10/4/2003 4:31:10 PM
I would like to download a Html file from Internet.
Please, help me.
Regards,
Seba Sassi.
... more >>
FWD: Apply this corrective package which came from the Microsoft Corporation
Posted by Lee Simmons at 10/4/2003 2:36:36 AM
Microsoft Customer
this is the latest version of security update, the
"October 2003, Cumulative Patch" update which fixes
all known security vulnerabilities affecting
MS Internet Explorer, MS Outlook and MS Outlook Express
as well as three new vulnerabilities.
Install now to maintain the sec... more >>
Logon Failure
Posted by Scott Wallace at 10/3/2003 11:14:40 AM
I am trying to access a remote machine's files and can't figure out how to
impersonate a user with rights to perform the task. The program runs as a
Windows Service - this is NOT ASP, IIS, Web Service, etc. related - strictly
a Windows Service. The remote machine is on a different domain so I c... more >>
3 bytes added to XML file by VS NET 2003 Professional
Posted by DM McGowan II at 10/2/2003 9:30:43 PM
Today I discovered that VS .NET 2003 Pro tacks 3 bytes onto the beginning of
an XML file created using the New File Wizard. This causes (in my testing)
XmlTextReader's Read method to fail. Is this by design? Enterprise doesn't
show this behavior.
... more >>
How to Serialize System.Drawing.Pen
Posted by Sergio Dinis at 10/2/2003 8:51:18 PM
Hi All.
Anybody know how can I serialize an instance of System.Drawing.Pen?
I already have an idea but can't work. It consists of creating a new class
witch derives from Pen, but Pen is sealed. The only way I know is to create
a new class witch implements System.Runtime.Serialization.ISerialize ... more >>
Trivial question - Visual C# .Net vs Visual Studio .Net
Posted by John Timbers at 10/2/2003 3:21:18 PM
I'd like to purchase Visual C# .Net for learning purposes only since it's a
lot cheaper than Visual Studio (note that I'm a very experienced C++
developer). Can someone simply clarify the basic differences. Ok, Visual
Studio has C++, VB and J++ thrown in plus some extra bells and whistles (I
alr... more >>
404 error?
Posted by LL at 10/2/2003 1:12:20 PM
Hi,
I just installed a .NET Web Server.
and built a web site(had .aspx page).
But I can't view them. Got 404 error.
What I am missing?
Thanks..
... more >>
Which should be the first? Windows 2000 update (sp4 and all other) and install VS.Net
Posted by CM at 10/2/2003 9:23:05 AM
Hi, there:
Finally, I am desperate for the problem of working on ASP.Net
Until now no one can solve the problem. I believe the only way is to give
the machine a brain wash. But I am not sure which should be done first,
Windows 2000 updates or VS.Net installation?
Thanks for any advise!
CM
... more >>
Trivial resources problem (beginner)
Posted by Larry Smith at 10/1/2003 9:06:03 PM
I'm just doing some experimentation to learn the ins and outs of resources
in .NET and am having a minor problem (OS=Win2000). I've prepared both an
"en-US" subdirectory and an "en-CA" subdirectory (Canada) under my app's
main directory. Anyone know how to change the locale via the control panel
... more >>
name-based referencing of collection members?
Posted by K. Shier at 10/1/2003 11:44:01 AM
is it a thing of the past?
i miss being able to write code like:
DataSet.Tables("MyTableName").Columns("MyColumnName")
now i have to use integer-based indexes like: DataSet.Tables(0).Columns(0)
i thought 'instinctive implementation' and 'easily readable code' were
supposed to be design h... more >>
|