jesans's Q&A profile
.NET Development Help with Reflection and accessing controls on page
Hi all, I am trying to access a couple of controls on a page via Reflection. More specifically, I am trying to get and set the value of a textbox using: Dim dispCompInfo As System.Reflection.FieldInfo dispCompInfo = Me .GetType.GetField("txtFirstName", Reflection.BindingFlags.NonPublic | Reflection.bindingflags.Instance) However, I cannot seem to get a return value from any of the Type's "Get..." methods. Can someone tell me ...Show All
Windows Forms Reporting Services in local mode - Why is the UI in vs.net so limited then?
Hi, I'm trying to use Reporting Services, well at least the Reports of it in local mode in my application. But I noticed Visual Studio .NET 2005 shows a very limited UI when it's not a server project. There seems to be no report wizard (at least not to the same extend as within a server project) Why is this I'm heaving much trouble creating reports this way. ...Show All
.NET Development Connect to an Avaya switch
Hi I want to connect and retrieve data from an Avaya switch. Is there an easy way to do that //Mange Additional information is needed before we can help out here. What protocols does the switch support Does it listen for incoming connections If so, using what protocol and port ...Show All
SQL Server cannot login
Well, I've tried every suggestion by helpful people in connecting to a database I created, to no avail. I created a db, called, nodes10.mdf. Test connection works. Right now I get: Cannot open database "nodes10" requested by the login. The login failed. Login failed for user '<server>\<user>'. Before you call me on my syntax, the problem is with logging in , not my insertString. code: SqlConnection conn = new SqlConnectio ...Show All
Visual Studio Visual Studio .NET 2003 - Can't Find My Prerequisites CD!
Hi guys: Is there any way of downloading an iso or executable so that I can install the Prerequisites for my Visual Studio .NET 2k3 PRO I'm afraid to think that I have lost that CD but 5 days of searching without a positive result will tell you to knock that idea off your head and start asking for help. Do any of you know of a link where I can download it or better yet install directly from the web Thanks! ...Show All
Windows Forms Detecting Dirty Data in local DataTables
This might be a pretty easy question, but I am very new to ADO.NET.. Here is the scenario, there are 2 users viz. A and B. User A has a local copy of a DataTable and user B has his own copy of the DataTable. User A has ...Show All
Windows Forms Modal Window in Another Thread
I have a requirement to open a modal window in another thread which will overlay on top of a panel created in the main UI thread. The application gives an appearance of as though there is only one window to the user. We have an application framework where different pages plug-in like a tabbed dialog mode. One of the page which is actually auto generated code from some rules will open many successive modal windows. When a modal window is ope ...Show All
SQL Server Changing the port that Reporting Services 2000 is running on after activation.
Hi, I have just installed reporting services 2000 on a non-standard port and have used the rsactivate tool to activate it. I then installed Microsoft CRM which seems not to like the non-standard port for reporting services, how do I go about deactivating the webservice so I can change the port and then activate it again Thanks I am not too familiar with RS2000, but I think all you have to do is to chang ...Show All
Windows Forms How to calling C functions
Is it possibel to call C function from C#.Net I have a third dll that include hardware access functions written in C. Thansk in advance lei xu If it's a COM DLL you should be able to do that without a lot of trouble. ...Show All
Visual C# Why string needs to be passed as ref, even though it is reference type?
Hi, I want to pass the string value to a function and the changes should refelect in the called function. What I thought was if I pass the string normally (without using ref keyword) this will work since string is a reference type. If we are passing any userdefined class reference it is working. Why it is not working for string even though it is a reference type Example: public void fun() { Strin ...Show All
Visual Studio problem deploying a new project type
I've created a new project type for the Pascal language. I have deployed and registered the VSPackage in the target computer, along with the project files, but, when trying to create a new Pascal project, I get the following error in a popup dialog: value cannot be null parameter name: type In my development machine, which contains VS SDK, the error doesn't occur... Can anyone help me please Thanks, -- AFurtado Do you have a PLK ...Show All
Smart Device Development File I/O
I'm trying to use file I/O functions to log debugging statements that I can view on the handheld. The code I got from msdn seems to do the trick except when I open the file on the handheld, PocketWord only displays the first character I write to the file. If I copy the file to the desktop, everything I wrote to the file appears as it should. My code for all of my file I/O is as follows: BOOL LogStartup ( void ) { HANDLE file; ...Show All
Visual Basic Installing.
Kelly, You will get alot further with your frustrations by providing details of your problems/issues to the product feedback center: http://lab.msdn.microsoft.com/productfeedback/Default.aspx ...Show All
Game Technologies: DirectX, XNA, XACT, etc. in managed directx, Materials are black if I create more than one mesh
I'm using the cool example from the managed directx wiki. http://pluralsight.com/wiki/default.aspx/Craig.DirectX/MeshBasicsTutorial.html I created an object that took the mesh name and the device as arguments and have their own render methods. It works perfectly if I only make and render one Mesh but if I render two the materials seem to disapear, every surface of the mesh is totally black except for where there are textures, those parts render ...Show All
.NET Development ORA-12154 error when connection to Oracle Database from C#
I'm trying to connect to an Oracle Database 9.0.2 using OracleClient in C#. I get the error "ORA-12154 Could not resolve service name" when trying to connect to the database. I've checked the TNSNAMES.ora file an it seems ok. The project where I get this error was previously a .VS 2003 project which I converted to a VS 2005 project. As a test I created a small project in VS 2005 where I connected to the same Oracle database with ...Show All
