microsoft.public.dotnet.faqs Archive - July 2002
Post a message to this list
Messages
Page: 1
Using ADO (not ADO.net) in VB.NET - PLEASE PLEASE PLEASE HELP ! (9 replies)
microsoft.public.dotnet.faqs
Hi All I've been stuck on this for days..... Anyone knows if it is possible to use ADO in VB.NET and bind text fields and other components to a data source? Thanks
Looping through web forms labels to set visibility (3 replies)
microsoft.public.dotnet.faqs
Hello, Basically all I need to do is loop through all the labels on my web page and set visible to false or true depending. I have been trying to write a proper for loop to do this, but have been unsuccessful. I have tried using Page.Controls.Count to see what was on the page, but that only displays three found. I have around 60 labels so I would prefer not to set them individually. Any help would...
DB Transactions, N-Tier, RecordLocks (13 replies)
microsoft.public.dotnet.faqs
We are currently writing a large app in .Net and most of our focus has been on the actual functionality and logic rules of the basic objects at this stage. We have what we feel is a good base of objects that represent entities in our app such as clients, etc.We are now coming down to some critical design issues which we are having troubles coming to terms with. I would love some pointers to websit...
Do I need to worry about dependency on runtime version? (4 replies)
microsoft.public.dotnet.faqs
Hi. When we write our class libraries, are we tied to a particular version of the run time? If so, does that mean, when we deploy our class libraries, we should also deploy the runtime that we built with? It doesn't make sense though because if that's the case, then the customers would potentially have so many versions of the .NET runtime after they install different .NET components/libraries from...
FTP in VB.Net (5 replies)
microsoft.public.dotnet.faqs
I want to program an FTP client in VB.Net. Does anyone have ideas where I have to start? Thx, Dennieku
ASP.NET , saving DD/MM/YYYY format dates to Access/SQl database (3 replies)
microsoft.public.dotnet.faqs
Hi , I am developing a project in ASP.NET (in VB.NET) For the datefields on my form , I need to show them in DD/MM/YYYY format, which will be saved to the database later. the user keys in the date format in a textbox provided , but when i try to CDate(Textbox1.text) , it returns the following error. [Date used is 24 June 2002] Cast from string "24/06/2002" to type 'Date' is not valid. Description:...
How to read a custom application.config file (4 replies)
microsoft.public.dotnet.faqs
Say if I have a app called boo.exe, I know I can create a boo.exe.config to associate with it and load the application config data at runtime. But is it possible to set the the config filename to something other than the *.exe.config? Thanks Andrew
Dataset reference produces "Type Expected" error (3 replies)
microsoft.public.dotnet.faqs
I don't get this, I'm trying to do a very simple VB.NET windows application, and I can't use a dataset??? This is the entire form.vb code, and dataset() is underlined, and I get a "Type Expected" error when I try to compile. This is truely a mistery to me, does anyone have any ideas? Sean Lively Option Strict On Imports System.Data Imports System.Data.OleDb Imports System.Data.SqlTypes Imports Sys...
How to instantiate a com object? (2 replies)
microsoft.public.dotnet.faqs
Hi All! How to instantiate a com object in C# like CreateObject in VB without add reference to type library. Thanks, Victor.
update a table? (5 replies)
microsoft.public.dotnet.faqs
Hello, I don't know which group to send this one so I picked the ones I think someone might hear some bells ringin'...(ODBC newsgroup seems abandoned windmills and all), here goes: This is to try and update a table with ODBC connectivity to an Informix SE database. The compiler doesnt complain, and it kinda looks like what they tell us to do in the (most useless when it comes to ODBCing) .NET book...
SQL Server login... (3 replies)
microsoft.public.dotnet.faqs
Hello, I'm learning ASP.Net, and havea problem when the spp tries to log on to the sample Pubs SQL server database. The error I receive is: "System.Data.SqlClient.SqlException: Login failed for user 'MyDOMAIN\IUSR MySERVER'. at System.Data.SqlClient.SqlConnection.Open()" and I think basically that SQL server is not allowing anonymous access. How can I set it so that SQL server will allow access? T...
EXCEPTIONS Informations (4 replies)
microsoft.public.dotnet.faqs
where can i find information about exceptions (in details causes). thanks in advanced
INFO: Mysterious .NET Threads! (6 replies)
microsoft.public.dotnet.faqs
Hello to all! I had always been interested on how the .NET threads are managed by the OS. Afterall, from what the concept goes, each Win32 physical process can contain multiple AppDomains, which in .NET terms, is a logical process. And not only that, each AppDomain can contain multiple threads that are, again, logical in nature. So, the question I had always been pondering upon was how these "logi...
.NET Framework Version (5 replies)
microsoft.public.dotnet.faqs
Is there any way to tell what version of the .NET framework a specific app is running against? Say ASP.NET, for instance. How do I tell what version of the .NET framework ASP.NET is running against? This is not a constant since obviously new versions of ASP.NET can be released, and MS can theoretically release publisher policy files to bind to new versions of the framework (i think, right?). In an...
Selecting DISTINCT rows using DataTable.Select() method (2 replies)
microsoft.public.dotnet.faqs
Can any give me a clue on how to do this. Thanks Fidel
Import data from Excel Spreadsheet (4 replies)
microsoft.public.dotnet.faqs
I have to import data from Excel Spreadsheet to a datagrid. Is there a direct way or I need to import to a table in SQL Server database and then populate the datagrid. I would appreciate any ideas on this. Thanks, Raj
Failed compiling WebApp (2 replies)
microsoft.public.dotnet.faqs
When I used net framework v.1.0.2914, I had no problem compiling my webApps, but I cannot use the MessageBox class when I import this namespace, for the messagebox : Imports System.Windows.Forms I get this error : The namespace or type 'forms' for the Import 'System.windows.forms' cannot be found. So I installed the net framework v.1.0.3705, but now I still can't import the system.windows.forms an...
Can't Input Data To SQL Database. (3 replies)
microsoft.public.dotnet.faqs
Hello, Am having problems accessing my SQL database from my ASP.NET page. It comes up with the following error when i submit the web form. System.Data.SqlClient.SqlException: Login failed for user 'SUPERNOVA\ASPNET'. at System.Data.SqlClient.SqlConnection.Open() at Subscriptions.process sub.Page Load(Object sender, EventArgs e) in c:\inetpub\wwwroot\Subscriptions\process sub.aspx.vb:line 82 It see...
undocumented syntax? (2 replies)
microsoft.public.dotnet.faqs
I was looking through some "old" C# code i made, trying to add some extra functionality, when i suddenly saw this line: XmlNode xmlFrame null, xmlWebpart; //, xmlData; What's going on? I was assigning a value returned from a method when i changed the code. I can understand assigning null OR xmlWebpart to my xmlFrame but why does this not cause a compilation error? It's working, only problem is, i ...
How do you handle 2 forms in the ASP.NET webforms (1 is in the cached web user control *.ascx and the other is on the webform itself)? (3 replies)
microsoft.public.dotnet.faqs
Please see attached Word doc for printscreen and text Outline I need the part in red box being cached (I designed it as a web user control: header.ascx that will be used on all pages). The dropdown menu is populated from the database and will change maybe 3 6x year. The search text box should perform search in the selected category. Guestbook is a part of web form. After you enter some text into t...
Verifying type "Int" in code-behind page (2 replies)
microsoft.public.dotnet.faqs
I'm looking for a way to verify that an entry in a form field is a number and has no alpha characters in it. I want to be able to run the test in the code behind page so I can group a warning message with other warnings... or so I can have more control over the error handeling. I'm currently using ASP validators, which are pretty limited. Does anyone know, in C#, how to verify that a variable is o...
I can't reflect a custom class. (6 replies)
microsoft.public.dotnet.faqs
(Sorry for cross posting, it's important) I have a class called User (which is self explanitory) but when I try to do something like... PropertyInfo[] properties new User().GetType().GetProperties(); int propCount properties.Length; ....for some reason propCount comes back 0, which means no properties were found. If I do the same thing above with a class from the .NET framework or from the same as...
DirListBox vs OpenFileDialog (5 replies)
microsoft.public.dotnet.faqs
Hi, I'm trying to use the OpenFileDialog for just showing Directories and not files as well, how can I do that. I was hoping there was somekind og property, but I can't find any. I'm trying to have my user chose a default directory for her files.. Any ideas? Thanks Soren
Passing Values from Form A to a popup FormB and then pass the Values from form B back to Form A (4 replies)
microsoft.public.dotnet.faqs
Hi, I need help on this question. Currently i had a form which will call another form which is a calender to pop up as a new window, after the user had select the date from the calender window , the window will close and at the same time pass the values back to the form which call it to open. How could i achieve that? Regards, Eric
Ad
Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification