Topics
-
-
- Administrators
- 1 reply
- 739 views
I am controlling my entire program from an ApplicationContext, each event closing or opening forms. I open one of my forms as a dialog box, and when I close it, it throws an null reference error. What should I do about this?
Last reply by PlausiblyDamp, -
-
- 0 replies
- 1.7k views
Friends i want a log file to get created as i install my application using myapplication.msi or setup.exe generated by VS 2003. I dont want the command prompt solution using msiexec myapplication.msi /l c:\mylog.log I require such a install log get created automatically when i click either setup.exe or myapplication.msi. one more i tried the CmdLine option option in the setup.ini file generated by visual studio.net. but what ever instruction i give it is not taking it. Please give me a solution
Last reply by k_baskaran, -
- 3 replies
- 656 views
I have been working on an aspx page in local mode and it works fine on my p.c. but when I copy the pages out to the web server, I get an error. The code counts the number of items selected in a checkboxlist and writes the number as an integer to a textbox. Here is the error I get: "BC30456: 'SystemApp_OnSelectedIndexChanged' is not a member of 'ASP.p_supp_aspx'" Here is the code associated with the checkbox list: (From the aspx page - there are 4 checkboxes associated with this list) <asp:checkboxlist id="SystemApp" Runat="server" AutoPostBack="True" RepeatColumns="4" RepeatDirection="Horizontal" OnSelectedIndexChanged="SystemApp_OnSelectedIndexChanged"> (…
Last reply by lorena, -
- 2 replies
- 738 views
I have TypedDataSet with foreignKey relationship between two table tableA is parent and TableB is the Child table. first I fill the DataSet from the DataAdapter TableABDataSet ds = new TableABDataSet(); tableAdataAdapter.parameters["ID"].value = 1; tableAdataAdapter.fill(ds ,"TableA"); tableBdataAdapter.parameters["ParentID"].value = 1; tableBdataAdapter.fill(ds ,"TableB"); well I get the dataset as I want now when I delete one of the child table row as ds.TableB.Rows[0].delete(); tableAdataAdapter.Update(ds ,"TableA"); tableBdataAdapter.Update(ds ,"TableB"); I get following error "Concurrancy voilation" it occurs only when I delete the row not wh…
Last reply by shailee, -
- 1 reply
- 816 views
Hi guys, Im really new to ASP.NET, although i've been using classic ASP for years. Before I continue with my question, I wanted to make sure that whoever tries to answer my question know that I am not using VS.NET or any editor of that type. I'm strictly using notepad, IIS, and the .NET framework Ok, well... I've noticed that in ASP.NET you can seperate the design from the code with .aspx and codebehind files. This is really nice and convenient, however it seems (unless im wrong) there is one codebehind file for each .aspx file. I'm sure that you can use the same codebehind file for another .aspx file, but thats not my problem. What if I want to have a subroutine…
Last reply by eramgarden, -
- 0 replies
- 1.5k views
I have a large document that is automatically created, however the numbering style isn't getting set right... Here's some of the code I'm trying: Dim oP As Object ' Word.Paragraph Dim x As Object ' Word.ListTemplate x = m_objWordApp.ListGalleries.Item(3).ListTemplates.I tem(4) Try For Each oP In m_objBaseDoc.listparagraphs If oP.Range.ListFormat.ListType = 0 Then ' wdListNoNumbering oP.Range.ListFormat.ApplyOutlineNumberDefault() End If oP.Range.ListFormat.ApplyListTemplate(x, False) Next The line with .ApplyListFormat is causing it to break, it says Type Mismatch on x. I am trying to enforce that the list is set with the 3rd outnl…
Last reply by corpse, -
- 3 replies
- 942 views
UPDATE: MS has just had a press release moments ago where they say VS2005 will be available Nov 7th, 2005 (along with SQL Server 2005 and BizTalk 2006). So it seems the leak from Borland is either a big assumption/rumor. But I'm not too happy yet, as this won't be the first time MS has slipped on a date. I hope this date is for real. Ok maybe this is the wrong place to post news items but I think people should hear this rumor from a MS partner... Shipment of the much-delayed upgrade to Microsoft�s tools platform, code-named �Whidbey,� may slip again into next year, according to Marc Brown, director of product marketing at Microsoft ISV partner Borland Software.…
Last reply by IngisKahn, -
-
- Administrators
- 6 replies
- 1.1k views
On my Page_Load event I want to test to see if a user clicked the Save button. Or another way of saying this is during the Page_Load I want to see if the btnSave_OnClick event is going to fire sometime after the Page_Load event. Is there any way to do this. Maybe looking through some events object or queue? Thanks, OnTheAnvil
Last reply by OnTheAnvil, -
-
-
- Administrators
- 2 replies
- 1.7k views
I have a web service method that I would like to have optional parameters so that I don't have to write 3 overloaded methods and name them all differently. Wouldn't it be easier to just pass in an object from the client? That way I wouldn't get errors when the client doesn't submit the double that my web service defines (because it is optional in the method). I could receive the object and then work on it server-side in my service. How do I go about doing this? I guess I am confused because of the web service client that .NET creates by default for my service. Can I just override that ugly default page and make my own client? My users will not want to use the pa…
Last reply by VBAHole22, -
-
-
- Administrators
- 2 replies
- 1.1k views
Hi all, i can view my asp site when i put: http://localhost/default.asp but when i use my ip things dont work and i get this error message: Error Type: Microsoft VBScript runtime (0x800A0005) Invalid procedure call or argument: 'InStr' /includes/get_app_variables.asp, line 97 why is that, please advice. Best, Omar
Last reply by PlausiblyDamp, -
-
- 0 replies
- 1.3k views
can someone point me in the right direction on how to modfy the IIS values for the default website? specifically i need to change the home directory, and add a script map. this is for IIS 5 at the moment, i'll later need to do it for IIS 6, but that should be easier since the meta data is xml based. I have seen examples which use DirectoryServices.DirectoryEntry, but only for creating new virtual sites. All I need to do is edit the existing default site. On a somewhat related issue, My version of visual studio ( 2003 ) does not have the System.DirectoryServices namespace available.. I am still trying to figure out why that is though. Thanks in advance. Any…
Last reply by sde, -
-
- Moderators
- 3 replies
- 973 views
Hi, The following code generates a (html)tabel with three cells and an ammount of columns wihich is specified in a textbox that should be filled in by a user (the user gives the ammount of collumns clicks a "button" and the collumn with the desired ammoun of rows is "drawn". Dim i As Integer For i = 1 To CType(txtAmountDelivered.Text, Integer) Dim row As New HtmlTableRow Dim ddlArt As New DropDownList 'items come later out of a db ddlArt.Items.Add("artikel1") ddlArt.Items.Add("artikel2") ddlArt.Items.Add("artikel3") ddlArt.Items.Add("artikel4") 'etc... …
Last reply by Robby, -
-
- 1 reply
- 1.1k views
I have a propertygrid, but what I want to be able to do is make the properties added to the propertygrid customisable by the user. The only way that I can think of doing this is by some how having the propertygrid read an xml file to populate the propertygrid. The problem I have is that I don't know if this is possible? or how to do it in vb.net? Can anyone help me?? Thanks Simon
Last reply by Machaira, -
- 1 reply
- 695 views
Hi There I Am New To VB Until Now I Am Managing, But Recently I Have This Problem. I Have a Serial (Local) Receipt Printer And A remote Printer On A Network I Need Both Printer To Print The Same Invoice Using One Command. eg: Much Like The Fast Food Restaurants Like Burger King...... I Am Using The Visual Basic Syntax. Thank You For Your help regards :confused:
Last reply by Machaira, -
- 7 replies
- 1.3k views
hello i do post in another forum its the biggest forum in argentina, and i want that they insert te csharp vbtag, but i dint find it anywhere... does you can tell me where to find it? or better can you share me with a copy??? thanks!
Last reply by Rothariger, -
- 0 replies
- 725 views
I need to define the standard values for a typeconverter (Int32Converter) once at run-time to show a list in the propertygrid. I think I can do it by the constructor or by a public method but in this case I have to create an instance of the typeconverter and I don't know if this will work as an attribute in a property of my class. In the MSDN I saw an example where a new value is added to the standard values collection by the ConvertFrom function, but I want to set the whole collection, how can I do it? Thanks for the attention
Last reply by BeppePix, -
-
- Administrators
- Leaders
- 4 replies
- 1.1k views
Never tried directx programming before! From conversations, there is the native code and managed directx right? Perhaps, i cannot comprehend the difference between the native code and managed directx? Please tell me the differences.... and when to use? From the articles in MSDN before in Visual Studio 6, I discovered that we only can have the native code through Visual C++. And i wonder in .net framework, can we write the native code by the use of C# or vb.net? Cause i admit that programming in visual c++ is a pain in the brain, even i do write c++ programs before.... Thanks anyway....
Last reply by Ieuan, -
-
- 5 replies
- 4.3k views
I need to store an IntPtr to windows registry. But when I try to read the value it is uint and I cannot convert it to IntPtr. So how can I convert uint --> IntPtr??
Last reply by Wraith, -
-
- Leaders
- 7 replies
- 1.6k views
How can I change my program to start from "Sub Main"? I have only found a selection for "Startup Form". I do not always need to show the main form before exit.
Last reply by JumpyNET, -
-
- 1 reply
- 2k views
How can I do deactivate the texture filtering of a Texture? I really have no Ideia...
Last reply by IngisKahn,
-
Who's Online 0 Members, 0 Anonymous, 71 Guests (See full list)
- There are no registered users currently online