Jimbo42's Q&A profile
Visual C++ Getting a certain Line of a string
Hello, I'm creating an application that needs to process each line of the TextBox's Text and check for some key-words. I just don't know how to set my string variable to a certain line of the TextBox's Text. With Thanks, Gal Beniamini. ...Show All
.NET Development Unable to connect Sql Server from VS.Net
I am a new .Net user. I am trying to use Visual Studio.net 2003 to creat a Windows application. When I try to connect to my SQL server I am getting th efollowing message "Unable to connect to batabase. It is only possible to connect to SQL server Desktop engine database and MS Access databases with this version of Visual studio. Someone suggested that I may not have proper security set up. i am not sure where to start checking. Any help would be ...Show All
Visual C# Send mouseclick event to webbrowser control
How do I send a programmatical (non-physical) mouse click to a web browser control at specified coordinates Is it possible to hide the control while performing these clicks First before I answer that question, if you are trying to automate a browser (IE) there may be a better way to do that. Consider this article ( http://msdn.microsoft.com/msdnmag/issues/05/10/TestRun/default.aspx ) before gettin ...Show All
Visual Studio Team System Accesing build programmatically (API)
I've found a couple of examples to access the build objects (BuildInformation and BuildController) in the extensibility kit but they don't work, some of the libraries seem to be missing (Microsoft.VisualStudio.Bis...). Based on the comments on one of the slides, it looks like the beta 2 release doesn't have this feature yet, is this correct Is it possible to access the build objects programmaticaly in Beta2 Thanks Pablo Ok, this ...Show All
Visual C# does this vsto comes built in with .net 2005
Does this vsto comes built in with .net 2005 , if so please tell me the version of .net 2005 Yeap. VSTO comes with .net 2005. (I think in Express Edition its not available). In order to install VSTo u need to have Office and Microsoft Office 2003 primary interop assemblies in the global assembly cache (GAC). The primary interop assemblies for Office 2003 products are also available in a redistributable Microsoft Windows Installer pac ...Show All
Visual C# Filtering SqlDataAdapter.Fill
Hello. I was wondering if someone could shed a light on this. When the startrecord and maxrecords parameters are passed to the Fill function of a SqlDataAdapter, where does the filtering of rows take place If the command passed to the function is for instance "select * from Table" and that table contains a million rows, but I need 10 rows, starting from the 20th, are all the rows brought back to the client, or does the filt ...Show All
Visual C++ I am working on a program in C++
I am currently working on a program in C++ for my high school. This is really more of a learning process for me, therefore I am in need of help. The purpose of the application is to lock the computer out and records the user input for better network security. That said, a user must login and the DWORD must be checked against a SQL database. I was wondering if anybody could explain to me how I go about calling the database ...Show All
Smart Device Development WebReference Change Static to Dynamic Setting not working
I have a Web Reference in my code in which I want to change the URL Behavior from static to dynmaic. When I do so nothing happens. I look in the app.config file hoping to see the url reference and nothing has changed. I also have checked the reference.vb file and it still is hard coded and not referencing the app.config file. Anyone know what is going on Hasn't anyone else run into ...Show All
SQL Server nt authoritysystem password - logon details
I have created a database, now setting login details, using sql server authentication. I enter these details in my webconfig fle and when connecting to browser I get error message:( could not connect to database specified in connection string for user ... I have gone back to check my password for the login details for the user and it seems to go back to the same password as the NT Authoritysystem, (my assumption, same about of *) a pass ...Show All
Software Development for Windows Vista How much of WWF designer support in VS is managed by the project system?
Hello, In order to create a new workflow in VS, one normally selects a template from the Workflow node of a C# or VB.NET project type in the New Project dialog. I tried creating an empty C# project (not of the workflow variety), copying the .cs and .Designer.cs files to this project, changing the namespace, and adding the same references to my empty project system that are present in the one created explicitly from the C ...Show All
SQL Server Using AMO to create a Named Set in Analysis Services Database 2005??
Hello, Does anyone know how to create a named set using AMO The Analysis Services Tutorial DB has a "[Core Products]" named set, but I can't find the code in AMO sample application for the Analysis Services Tutorial that creates the named set. Thank you very much, Sincerely, Hsiao-I ...Show All
.NET Development DB Changes not committed in VS/SQL Server DB
I am brand new to vb.net and Visual Studio. I am following a series of lessons where I am supposed to be able to connect to a SQL Server Database bind the db to a form and then edit, add and delete records from within the form. When I run the project everything appears to work correctly, I can change the table data, add or delete rows but once I close the project and look at the underlying data, none of the changes are reflected. When I re-run t ...Show All
Visual C++ VC++ 2005 doesnt compile, when non-startup project header is changed...
I have five projects in my solution. First four creates static lib and the fifth is exe file that uses those libs. The fifth project is set as startup and dependent to others. Whatever file (cpp, h) is changed, compilation occurres after F5 (build project) is pressed. I can also change something in cpp of the dependent project and it is also compiled. The problem are any changes in header files of dependent projects. VS just saves them, but writ ...Show All
.NET Development Checking whether a server using TcpListener is broadcasting.
Hi there, I need to do some simple network communication. My program can act as both a server and client. When it's a server I create a TcpListener, start it, check whether listener.Pending() is true, and then create a TcpClient from which I create a NetworkStream which I write my data too. So that works just fine. Now on the client side, I create a TcpClient and grab a NetworkStream from it. Here's my problem, so when I now call NetworkStream. ...Show All
Visual Basic How to pass an array as an optional argument
Hi, I would like to pass a multi-dimensional array as an optional argument to a procedure. The trouble is I'm having difficulty trying to assign the array to a default value. Can anyone help ! Jo You can't initialize a multi-dimensional array inline with the function/sub declaration as it needs to be a constant expression, instead try something like the following: Public Sub MyMethod( Optiona ...Show All
