Topics
-
- 1 reply
- 832 views
I have a DataGrid object setup with a Parent-Child relationship. However, when I click the plus symbol next to an item, it displays the Relation name. I then have to click the Relation name in order to display the Child Table data. Is it possible to setup the DataGrid so hitting the plus symbol displays the Child Table data (without having to click the Relation name)? Is it possible to have all the Parent Rows still visible while the Child Data is displayed for a specific Row? Thanks sojo
Last reply by lkafar, -
-
- *Experts*
- 9 replies
- 1.4k views
Hi. Is it possible to catch every error that occures? I'd like to create a Error tracker, so when error occures it should send me err.number, err.description etc... So one way is: In every procedure and every function I create: Private Sub On Error goto _error ... Exit sub _error: 'here I would send error's End Sub But I think that this is very old fashioned... And, if I use on error, then I can not use Try...Catch statements.... the other way is this (in every sub and every function): Private Sub Try ... Catch ex as Exeption 'here I would send error's End Try End Sub But this is not what I want. Is there any way to do it more fluently. For ex. …
Last reply by HJB417, -
-
- 1 reply
- 721 views
Hello I am using VB.Net to develop Order Processing Form. I have a field called EDD 'Expected Delivery Date' I want to have the option of leaving this field blank if I dun have any expected delivery date. The Problem arrrives when I save the order to the SQL database as it doesn't accept Null vales How should I handle a situation like this ? How can I save Blank or Null value to my SQL Server Databse using DateTimePicker Control on Windows Forms? Please any help would be appreciated!
Last reply by Micah, -
- 1 reply
- 1.3k views
is there a way for me to do the following easier? (probably using interface) i have a baseForm that have 5 different display options(tabpage, list of panels, etc), and varies derivedForms inherited from this baseForm. i handle the display oftions by switch-case, implementing the display functionarities in the baseForm. now i want to have one baseForm that doesn't need to worry about the display funcionaries. instead, it will have 5 derived Forms called DisplayTypeAForm, DisplayTypeBForm, ... etc. how should i set up the "third level" Forms (the forms originally derived from the base class) without inheriting each of the 5 DisplayTypeFroms?
Last reply by AlexCode, -
- 0 replies
- 857 views
Does anyone know how to get low level access to a drive (whether it be a hard drive, removable storage, optical, etc) to that you can read from it bit by bit? This of course I can accomplish with ASM, but I wanted to code this project in C++. Any ideas? Suggestions?
Last reply by coldfusion244, -
-
- *Experts*
- Leaders
- *Gurus*
- 42 replies
- 14.1k views
Sorry if I am posting this in the wrong place but I didn't really think it clearly fit in any of the other sections. I am trying to make an application that has a section that would be control via an HTML page. As an example of what I am talking about look at the Start page that opens by default in .NET IDE. I need to be able to place controls on the HTML page and have them control the program but really not sure how to go about this. Any pointers to tutorials or examples would be welcome.
Last reply by jtal, -
-
- 3 replies
- 855 views
AD application searches some data sn, givenName and telephoneNumber. These are then pumped into label controls. While sn and givenName are all full, telephoneNumber is not and each time I get System.NullReferenceException This is how I tried (poorly) to solve the issue, but somehow it still pops up System.NullReferenceException --code-- Dim rootEntry As New DirectoryEntry("GC://ou=Employee,ou=Users,dc=some,dc=weird,dc=com") Dim searcher As New DirectorySearcher(rootEntry) searcher.PropertiesToLoad.Add("sn") searcher.PropertiesToLoad.Add("givenName") searcher.PropertiesToLoad.Add("telephoneNumber") searcher.…
Last reply by IxiRancid, -
- 1 reply
- 1.5k views
Hi, Can anyone tell me how to implement maximum number of Redirects using the FollowRedirects = TRUE. Thanks in advance :) Ahmad
Last reply by ahmadzia673, -
- 0 replies
- 1.1k views
I have a Win2000 webserver, Win2003 dbase server running SQL Server 2000, and a NT box as a primary domain controller: I know what you're thinking but it worked last Friday. :) Anyway, sometime over the weekend all of the web apps that access the SQL Server got connection errors like they don't have permission to access the database. I'm using SQL ODBC drivers on the web server from MDAC 2.7 or 2.8. When I run a EXE from the web server with the exact same connection string as a web app, I have no problems at all. I went to administrative tools and reconfigured the ODBC driver and tested it and again no problem. I also created a UDL file with the same connection varia…
Last reply by OnTheAnvil, -
- 0 replies
- 1.1k views
I've been trying to get past a security problem by editing the processmodel section in machine.config. I have .net 1.0 and 1.1 installed so in both files I changed the username and password to a valid username and password on the local machine. Noithing happened. When I went to Task Manager the aspnet_wp.exe is still running as username = ASPNET not the username that I changed it to in the machine.config. I ended the process and it didn't change. I started and stopped IIS and still no change. Finally I set the username and password to completely random values and still no change. Am I missing something? My web server is down right now so any help would be apprec…
Last reply by OnTheAnvil, -
-
- Administrators
- 6 replies
- 1.2k views
I have developed serveral apps, including one as a test after getting this error that use Access Database (2000) - same version as in error that I get which is the following: System.Runtime.InteropServices.COMException: Class not registered The .Net Data OLE DB Provider(System.Data.OleDb) requires Microsoft Data Access Components(MDAC). Please install Microsoft Data Access Components(MDAC) version 2.6 or later. I have 2.7 SP1 installed. As I said I know it works because I even made a connection (copy and pasted connection string) afterwards in a brand new application. I thought maybe some weird permissions thing was going on since this was with ASP (first project i…
Last reply by OnTheAnvil, -
-
- 1 reply
- 876 views
Hello, I am curious as how to I check wether or not my connection to my MySql database works. When I can connect to the database via my connection script etc, all works great. But if the server that the database is down, my program then gets a runtime error and crashes. How can I check this so that if the server is down, I can exit the routine it is in so that it does not crash.
Last reply by michael_hk, -
- 3 replies
- 5.1k views
Hello all. i am having this problem. i have got to correct a whole site worth of links. i want to basically check them to see if they have the title attribute and do not contain onMouse[XXX] events and replace the attributes with an added mouse events that will contain JS statements to change the status bar to what was in the title attribute. i hope this makes sense. here is an example <a href="www.somewhere.com" title="Click me now, please." class="something" > i would want the expression to evaluate to this <a href="www.somewhere.com" title="Click me now, please." class="something" onMouseOver="window.status='Click me now, please.';return true;" …
Last reply by HJB417, -
-
- *Experts*
- 14 replies
- 2.1k views
I've recently been teaching myself C# & ADO.NET and having worked through a few books am reasonably confident about them. However my imagination (or it might be boredom as work is quiet) is lacking in trying to think up ways to use them in a more 'real' application. If there were enough new projects coming in it would be okay as I'd have real problems to practice with, but there aren't so I've been looking but not found much that impressed me. Does anyone know of any good sites that contain programming exercises, ideally of varying levels of difficulty/complexitity? Answers/solutions to exercises are not necessary though probably useful.
Last reply by Diesel, -
-
- 0 replies
- 1.3k views
:( Someboy know how to control the window's audio system and what classes or references i have to import or use, thanks, :confused:
Last reply by doxos, -
- 0 replies
- 835 views
Im really at a loss with this problem. I have a listbox that occasionally will not draw the items on the screen. The items are there because I can click on the area of which the item would be but there is no text. Sometimes when clicking on the item the item will draw properly and I can see the text. I am not Owner drawing the items, this is a listbox I have just dragged onto the forms and populated with items. This has happened in other projects too and I am not sure what could cause this other than a problem with the framework. any ideas? Josh
Last reply by modularbeing, -
-
- *Gurus*
- 3 replies
- 1.2k views
I am trying to authenticate users against a sql server db. I don't want to store peoples passwords in plain text in the db because I don't know who will be accessing it in the future. How can I avoid this? ANyone have some sample code for using SHA or something like that? Would I have to add another field in my db for the salt?
Last reply by Derek Stone, -
-
- 0 replies
- 1.1k views
Hello, I am using a MSFlexGrid for an order type setup. Anyway, I can not seem to bind the context menu to it. Is this possible? I wanted to be to have a menu pop up when my mouse was on certain rows of the grid so that I could delete items. Is this possible in VB.nET? it was in vb6 :) Thanx,
Last reply by SharkBait, -
- 1 reply
- 1.5k views
I have a web form, which has a place holder named Example when, Page_Load happens in my web form. I�m creating dynamically a WUC named WebUserControl3 into my place holder. WebUserControl3 has several text boxes, a button and a label, when user click button I�m executing some calculation which result I�m placing into label. But when user click button occurs Page_Load in web form that contains my place holder and I need recreate my WUC plus data was contained therein, I have tried with ViewState and Session variables but still I can�t pass data from WUC to web form to recreate WUC and its data. Obviously WUC is created again without data. Notwithstanding if I re-enter dat…
Last reply by see07, -
- 5 replies
- 2k views
hi, i want create a program that connect to special phone number with a standard modem and phone line. so i need connect to modem and dialing. help me pls
Last reply by Diesel,
-
Who's Online 0 Members, 0 Anonymous, 76 Guests (See full list)
- There are no registered users currently online