Topics
-
-
- Administrators
- 1 reply
- 874 views
Hi, hopefully a v-simple question, im just getting started and trying to create a new asp.net web application in visual studio 2003, my problem is that my IIS webserver is not on the local machine, so when I create a new project http://localhost/webapplication1 I obviously get the no web server detected error. What should I chance my project file name to? I've tried http://**servername**/webapplication1 and a few other things like that with no luck. Anyhelp would be much appriciated. Thanks
Last reply by PlausiblyDamp, -
-
-
- Administrators
- 3 replies
- 645 views
I am brand new to ASP.net and I have a few concerns. I want to migrate an estimating system to ASP but I need to maintain global collections for Customers and Vendors. Is the web application theory the same as a windows application only with extensibility via asp? Is the web application always running on IIS keeping collections in memory so that I can access them without having to fill datasets each time? Also how do I pass datasets and collections between ASP pages? thanks
Last reply by PlausiblyDamp, -
-
- 0 replies
- 617 views
Dear all, I would like to know how to set certain rules for my database relationships with parent and child tables, such as cascade, restrict.... I am using SQL Server, but I cannot find a way to accomplish this task, I am using VB.Net to design my application, using VB.Net to view my database relationship is okay, but I didn't see anything like Delete Rules, Update Rules, etc for me to select, where should I go? Thank you very much PlayKid
Last reply by PlayKid, -
-
- Leaders
- 1 reply
- 1k views
So I've written my XML schema. VS likes it, and the xsd tool creates nice serializable classes, so the schema must be ok. I have called my namespace urn:xmlns:toffee like so: <xs:schema id="Toffee" targetNamespace="urn:xmlns:toffee" elementFormDefault="qualified" xmlns="urn:xmlns:toffee" xmlns:xs="http://www.w3.org/2001/XMLSchema"> .... </xs:schema> Now I want to test the schema in Sample.xml, so I started with this: <?xml version="1.0" encoding="utf-8" ?> <userfile xmlns="urn:xmlns:toffee" xmlns:toffee="urn:xmlns:toffee" toffee:schemaLocation="Toffee.xsd"> .... </userfile> userfile is the document/root element defined in …
Last reply by Diesel, -
-
- 1 reply
- 544 views
How do I bold a string in code only using visual basic.NET? Any help is greatly appreciated.
Last reply by techmanbd, -
- 4 replies
- 854 views
I can NOT update the table, have a DBConcurrency exception. The code I put is a form with a dataGrid filled with the table data of 'categorias' but when I leave the dataGrid to force a DGValidated I always obtain the same exception.... ... can anyone help me? public class clsFrmClientes : System.Windows.Forms.Form { private System.Windows.Forms.DataGrid dG; private MySqlDataAdapter myAdapter; private DataTable myData; public clsFrmClientes() { InitializeComponent(); myAdapter = new MySqlDataAdapter(); myData = new DataTable(); MySqlCommand selCommand = new MySqlCommand(); string selSQL; MySqlCommand updCommand = new MySqlCommand(); string updSQL; …
Last reply by FtKarras, -
-
- *Experts*
- 4 replies
- 800 views
Ok here is my basic problem; I'm creating a program that can interact with various databases. My idea was to have a base class with stuff needed by all the databases, such as the database type (so i can identify what database it should be), username, password etc etc. Then I have all the classes which inherit these, such as an oracle, sql server etc classes. Now, my plan is to assign these database connections to a toolbar button; so i have extended the toolbar button class to include a member which is the base class of the databases. My problem is this; I need to go from the base class and cast it to the actual database class.... so i wanted to return the database…
Last reply by mutant, -
-
-
- Administrators
- 3 replies
- 902 views
Hello, I have made an application where I execute an sql statement to the database. I have 3 sql statements. 1: I do a count for people based on the name 2: I do a count for people based on birth date 3: I do a count for people based on ID. All 3 queries work in the database and also in my application on my computer. I use executescalar in the application. But I have made a package to install on other computers. and when I start the programme on other computers... everything works Except for the second query .... there i execute a sql statement, in this stament I look for people based on the BIRTH DATE... this is my query: it works on my computer …
Last reply by inter, -
-
-
- Administrators
- 2 replies
- 2.4k views
Ok, so it's probably me, but all I want to do is put an animated image in an ASP.NET Hyperlink control, and I'm having big problems understanding how to save multi-frame images in various formats, using, I think, Save and SaveAdd (in VB). The whole procedure seems complicated and not very well explained anywhere, but what I've gleaned so far after a day of searching is this: An ASP.NET Hyperlink can take a gif for its Image (including animating it), but .NET doesn't support gifs. .NET supports tiffs, but an ASP.NET Hyperlink cannot take a tiff for its Image. .NET supports png, An ASP.NET Hyperlink can take a png for its Image, but png doesn't support multi-f…
Last reply by GrahamRounce, -
-
- 2 replies
- 1.3k views
Is there a way to get this to display the contents of MyComputer and MyNetwork connections? I have tried numerous settings and can get mydocuments, desktop, my computer etc but can get it to display mynetwork connections? Thnx
Last reply by hog, -
-
- Administrators
- 32 replies
- 5.7k views
the answer is probabaly posted everywhere but i cant seem to find the answer. anyway heres the problem: this is in visual basic .net not asp or anything else just plain old visual basic .net. when i try to write a file to a directory that the user selects, i get an this access denied error: An unhandled exception of type 'System.UnauthorizedAccessException' occurred in mscorlib.dll Additional information: Access to the path "C:\Documents and Settings\Matt\Desktop" is denied. i have tried to use permissions sets but i can't figure out how. :mad: that said i have another problem totally unrelated but i can't figure that out either: on all the programs tha…
Last reply by gorbit, -
-
- 1 reply
- 1.1k views
Hello! I have a page with a Datagrid in it. This datagrid has a number of bound columns and one last template column that contains a linkbutton control. This LinkButton has to open a new page when the user clicks on it, but this page has to receive a parameter depending on some data contained in one of the bound columns. This is the definition of my Datagrid: <asp:DataGrid id="DatosTarea" Visible="False" ForeColor="Black" BackColor="White" BorderColor="Silver" Font-size="8pt" horizontalalign="left" cellpadding="4" AutoGenerateColumns="False" AllowSorting="True" OnSortCommand="Sort_Grid" runat="server"> <HeaderStyle font-bold="T…
Last reply by mark007, -
-
- Administrators
- 3 replies
- 1.3k views
Now I'm used MS Enterprise Library to insert data into DataGrid. But an statement error in AddParameter in the following: Database db = DatabaseFactory.CreateDatabase("Database Instance NorthWind"); string sqlCommand = "Select CustomerID, CompanyName, ContactName From Customers"; DBCommandWrapper dbCommandWrapper = db.GetSqlStringCommandWrapper(sqlCommand); //dbCommandWrapper.AddParameter("@CustomerID","FRANK") ; <--Error But how to used this method? seems many parameter should be insert into this. in this case, i want to search the datas where CustomerID="FRANK", and return it. How to solve it? Any suggestion are appreciated. Thanks.
Last reply by miaomiaoga, -
-
-
- Administrators
- 1 reply
- 845 views
I've been programming in VC++ 6.0 for some time now, and was thinking about upgrading to C++.Net. I have the VS.Net 2003, and have been using C# for almost a year. But I want to use C++.Net. From what I know, theres Managed C++, and UnManaged C++. First, what is the difference between these two? I've read about it, but still dont get it. If I understand correctly, the Unmanaged C++.Net doesnt require the .Net Framework, and is basically VC++6.0 with a better compiler. So, if that is correct, then do you think it is better to use unmanaged C++.Net for, say, ..Game development for example? Because C# and VB.Net(.Net Framework dependent langauges) are both kinda slow at ti…
Last reply by PlausiblyDamp, -
-
- 1 reply
- 924 views
I've installed VS .Net, the Framework 1.1, IIS 6 and now when i type localhost in my browser it asks me for a password and a user name... I log on to windows using the Administrator account with no password! The thing is that i can't use any user/pass combination for the localhost Any ideeas?! Thanks
Last reply by mark007, -
-
- Administrators
- 4 replies
- 987 views
I'm trying to figure out how to position a MDI form (frmChild) in the centre of it's parent form (frmMain). Could anyone please provide me with some sample code if possible in vb.net. Cheers Simon
Last reply by AlexCode, -
-
- 3 replies
- 959 views
I have a textbox bound to a dataset field, should this text box automatically update with the data in that field? Yes/No? The book im working from basically has a drop down box that I select a country from, this then fills the dataset with customers from that country, and in the book the application then shows the first customers name from that country in the textbox(based on the book having the textbox bound to dataset->customer field, will auto update the textbox.text value with the data from the dataset) However when i recreate the example from the book the textbox field just stays empty upon selecting a country from the dropdown box. I know the dataset is …
Last reply by srs2001, -
Can anyone explain what's a makefile in .net? How can I create it?
Last reply by DreamKid, -
-
- *Experts*
- 1 reply
- 1.2k views
-- RESOLVED -- USING COM OBJECT
Last reply by Bucky, -
-
- 1 reply
- 1.8k views
Hi everyone, I have the following code which is serving as an overlay to a seperate form and was wondering if there was any way that I could make the ellipses transparent like the rest of the background (i.e. empty circles). I can't find out how to do this anywhere and will greatly appreciate any help you can give. Heres the code: Public Class Form1 Inherits System.Windows.Forms.Form #Region " Windows Form Designer generated code " Public Sub New() MyBase.New() 'This call is required by the Windows Form Designer. InitializeComponent() 'Add any initialization after the InitializeComponent() call End Su…
Last reply by chris36950,
-
Who's Online 0 Members, 0 Anonymous, 64 Guests (See full list)
- There are no registered users currently online