NeederOfVBHelp's Q&A profile
.NET Development Connection woos ...
Just the other day I have not been able to connect to SQL Server 2005 Express Edition. NOTHING has changed. All I have noticed is that in the Surface Area Configurator the Local Connections only radio button it selected. So I try selecting the Remote radio button and Apply and Ok and then exit the Surface Area Configurator program and then come back in again and the Local Only is selected. Is this normal behavior Is Remote connections allowed or not How verify Thanks. See if the following helps: http://www.datamasker.com/SSE2005_NetworkCfg.htm ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Vertex Buffers, draw methods and associated nonsense...
Hi all, Standard preamble, new to this, having a go at c# and XNA for the first time, having a blast, absolutely sterling job by the devs, etc. I'm playing around, drawing primitives and the like. Currently, I've got a little bit of code that I use to draw a grid on the screen. Pretty simple. A Line class, and a LineManager class. Now, it works, but it's obviously horrendously inefficient. It's like an idiots first day at coding school, I know. I've got objects re-instantiated inside loops and all sorts. So after compilation I see my grid, all well and good, but because of the horrendous inefficiency I presume I'm falling afoul of the GC, getting a regular stutter every second or so. The problem, it seems to me, is the createLine() called ...Show All
.NET Development SQLDataReader.GetOrdinal() fails rarely with IndexOutOfRange
Hi everybody, We were developed some Web-Services that run against SQL Server 2000 with SQLDataReader that executing Stored Procedures in the DB. Most of time (95%) everything is running well, but sometimes (when exactly, we don't know) the same WebService that worked 200 times, fail. The code is simple: public string myFunction( int ANumber ) { string strRetVal = null ; SqlDataReader myReader = null ; SqlConnection MyConn = null ;   ...Show All
Visual C++ Is there any funciton which can tell me my computer is busy or not in vc ?
Is there any funciton which can tell me my computer is busy or not in vc Hi, I was looking through the code and did realize that the above codes are for one single processor only. I am having a HT processor. How do we modify this code to read from multiple processors or multi-core processors. Any help or references would be very helpful. I am doing this code in VC++ itself. Thanks in advance. ...Show All
Visual Studio 2008 (Pre-release) xbap database application
Hello, does xbap allowed us to make database management applications where database located on different server, i have tried with database interaction with xbap but i got error like 'Request for the permission on type 'System.Data.SqlClient.SqlClientPermission'' failed. can anybody help me with this. regards, vijay prajapati Vijay, it is important to understand the difference between a client technology and a server technology. Comparing XBAPs with ASP.NET seems like comparing apples to wrenches. It would be more productive to discuss how the client component of ASP.NET i.e. HTML/Javascript fares in the same scenario. And there too, as I understand it, browsers do not allow you to make cross-domain requests willy ...Show All
Software Development for Windows Vista A question about State workflow
Hi, I have a state workflow and it initializes in state A after receiving an external event. In this initialize state, it receives an object as event argument. Now in state A, i wanted to see if value of one of the property (DateTime) of this object is matching with today. If not i want it to wait until the today is equal to the value of the property, else if date is >= today, I want to set the state to State B The date value of the property could be any future day of the year, and my question is... how to implement this and if the duration is too long e.g. date is Dec31st2006 and today is July 5th2006. In this case what would happen to workflow instance will it be loaded in runtime untill the date is Dec312006 or it will be persi ...Show All
SQL Server Error:1418 during Mirroring
I am trying to do mirroring using SQL Server Ent. 2005 SP1 on two machines. I was able to create end points on both the machines at the port no.s 5091 and 5092 respectively. I have all the security setting settings for both the users. I am getting error no. 1418 while starting mirroring sessions. Can anybody tell me how to troubleshoot this error There are some troubleshooting hints in the paper: http://www.microsoft.com/technet/prodtechnol/sql/2005/technologies/dbm_best_pract.mspx ...Show All
Visual Studio Team System Team Foundation Server SP1 (server only?)
Is the TFS SP1 for server only or should that be installed on clients as well Thanks To clarify there is a 400+MB SP1 for VS2005 (That is clearly clients), then there is the seperate VS2005 Team Foundation Server SP1 that is like 40+MB, it is the 40+MB one I am referring to. Thanks ...Show All
Windows Forms How to pass variables between forms
Hi, I have a login form and the main form of my program, I would like to pass the username that the user typed in the login form to the main form, could somebody help me with this please. Thank you in advance. Hi ! You should be able to this like that:: Let doShowForm() be your method to display the form. Then you should define it like "public string doShowForm()" The method should display the form modal and return the edit's value on closing. If you need a code example - ask me :/\] regards ...Show All
Visual C# documentcomplete event
I've got a really weird problem with my application; it works on some pc's, and it doesn't on some others. What I've got: A Visual C# 2005 console application with references to MSHTML and SHDOCVW. I use mshtml to get a list of currently open browser windows, and attach events to it to edit the list when a new browser window is created or closed. I attach a documentComplete event to each open browser window and handle it the event there (let's say it prints out the url where is navigated to). So when I run this program, it should detect when I open a new browser window, when I close one, and it should print out the url of a site when it is done loading it. And there's my problem. On a few pc's, it all works perfectly. But o ...Show All
Visual Studio Express Editions Database Connection Inquiries
Dear peeps, Please shine some lights on my inquiries, I am just a newbie to database programming and I need your expert advice. I have started a database program through VBExpress and I wish to know how can I transfer Database connections using OpenFileDialog box, and from there all the connections would be referrenced. I am using MS Access on one of my project and the other one is SQL Express. Also, during the packaging of the software, is there any options that I can install the program on any directory that I would want to choose and from there, the database connections would be updated Thanks a lot in advance. Hi DMan1, I mean I want a functionality that I can choose which directory location of my database during runtime. I am ha ...Show All
Smart Device Development Change Focus between TextBox and ListView?
Hi, I build a form with different TextBoxes and one ListView in Mobile 5/smartphone (C#). The problem is if I change focus from TextBox to ListView I can scroll through the ListViewSubitems but I can't go back to the TextBox with the joystick. Could someone help me with a solution of this problem Christoph The way navigation between controls is implemented in CF forms on the Smartphone platform, having any controls *and* a listview control is not supported. There is no way to navigate out of the listview. Modify your application so that llistview is the only control on the form ...Show All
SQL Server Custom Data Mining Functions
I would like to write a custom mining function, which takes a string, queries the database, and returns an answer based upon those queries. So the basic function is then: [MiningFunction("Performs Foo")] public string Foo(string param) { // process parameters // query database // calculate answer from query results // return query results } And is executed from the client using: SELECT Foo("X Y Z") FROM FooModel This arrangement is so that resource-intensive calculations are performed server-side. My question is: what is the preferrable method for executing the database query from within the custom mining function Yes, this is helpful. I'm looking at the ...Show All
Visual Studio 2008 (Pre-release) problems with my SDK help
hi all, today i un installed May CTP and installed June CTP and June SDK set-up files. everything seems to be fine but when i press F1 for some help i get this message You have chosen to use local Help only for Search and F1 results, and the topic could not be found in local Help. also in Filtered by option i have all SQL Server *.* but not with .Net Framework3.0 Win32 Development i want my help to be filtered by .Net Framework3.0 thanks in advance Nani ...Show All
Visual Studio 2008 (Pre-release) Orcas Oct Release - No .NET 3.0/3.5 ???
I just downloaded the base image and the Oct bits. After starting up and logging in, all I see is "Orcas" in the splash screen, but no 3.0 or 3.5 features... Am I missing something Marking this thread as answered because Beta2 has been released. If this is still an issue, please mark the thread as unaswered. Thanks, Karen ...Show All
