josorio's Q&A profile
Visual Studio Express Editions Grid Control In VB Express
Hello All, I have a bit of a problem here. I am in need of an unbound .Net Grid Control. There does not seem to be a grid control available in Express. I am trying to recreate the Permissions/Change Owner form in MS Access. In my VB6 version of this form I used the MS Flex Grid control. I am trying to stick to using native .Net controls in my design. Does anyone know of an unbound .Net grid control, or possibly have a suggestion for an alternate control that I can use for my purpose. I known there is a Data Grid control in Express. Can this control be used in an ubound mode and populated manually I known there is a Data Grid control in E ...Show All
SQL Server Database Diagrams - SQL Server 2005 Express
I have installed Visual Basic 2005 Express and SQL server 2005 Express. I am reading the ebook: "Microsoft Visual Basic 2005 Express Edition - Build a Program Now" that you download when you register the products (it is a PDF file named 6-2213-2.pdf) Page 139 of the book (or 151 in the file) is about "To Create Relationships between Tables". So I follow the instruction and get stuck on Step 1. When I right click on the Database Diagrams folder under CarTracker.mdf database and choose Add New Diagram I get the following message: --------------------------- Microsoft Visual Basic 2005 Express Edition --------------------------- This ...Show All
Visual C# textbox test always highlighted on window open
I have a help non-modal dialog that just displays a text message in a textbox. The textbox is the only component in the form. The problem is that when the dialog is displayed, all the text in the textbox is selected / highlighted. I have tried calling deselectAll on the textbox in the constructor and in the load and visible changed methods with no change. How do I get rid of the selection I am not doing it myself. How do I prevent focus from going to the textbox if it is the only component in the form ...Show All
Visual Studio Team System Rename team project
How do I rename a team project The name of the project has to be renamed and I would like to do this with the least amount of pain as possible. This is not possible in v1. You can create a new team project and move all of the source-control items (files & folders) using ordinary the 'tf move' command. Moving work items will probably require a little OM code. I'm not sure what can be done about reports, process guidance, etc. To delete the old team project, use tfsdeleteproject.exe. ...Show All
.NET Development Switching Connection strings
In my app_code folder I create a dataset (customer.xsd). The wizard prompts to create or choose a connection string. Now, I have two strings in my web.config file - one for production machine, one for dev machine. In my code, I DIM a New datatable and a tableadapter for my dataset. I then call the getdata() method that the tableadapter wizard created for me. However, I can find no property for connection. In VS2003 I used to set an application variable in global.asax.vb that determined which string to use based on Context.Server.MachineName. I could then use that app variable to set the connectionstring property. Can't do that here. ...Show All
Visual FoxPro Coming from Excel to VFP9 and need help understanding math functions on cells
I have set up a simple data tracking form that breaks out the associated costs of a vehicle going to Auction ( dealer costs, transportation fees and so on) for my employer. It works great, and I can enter data into the database successfully, and my Report will print it out nicely sorted by Store. I would now like to create cells on my data entry form that calculate and display various math procedures on the data being entered. For instance, a cell that displays the Sum of all the fees and costs, and then a Result field that displays the amount we sold the car for minus the Sum total of the fees. Boy, do I need some help getting my ...Show All
Visual Studio Team System Missing Team Explorer button
I've installed Team Edition for Software Architects 2005. Installed Beta3 Team fondation on a server. The team Edition for Software architects is missing the team menu item. I cannot find a way to connect to the server. At the server I can use VS Explorer to connect and create projects what I'm doing wrong.... I believe you also need to install the Team Explorer on the machine where you installed Visual Studio Team Edition for Software Architects. You can find instructions for doing this at http://www.microsoft.com/downloads/details.aspx familyid=e54bf6ff-026b-43a4-ade4-a690388f310e&a ...Show All
SQL Server A probably simple question
A third party vendor has a table with a field name of "desc" in it. Since "desc" is a reserved term in SQL Server 2005 how does one query Table.Desc when you try it with table.desc it errors since it turned blue being a reserved word. Jeff I did this and it would not create the column. I have tried: table.[desc] [table].[desc] Neither of which worked. Jeff ...Show All
Windows Forms Problem while writing log file in Multi Threading environment in c#
Hi, Right now i have some problem in multithread environment. I am a c# programmer and i am using threadpool to maintain multiple threads. Mine is a window service so, when ever i stated the service multiple processes are run simulteniously. Up to now its fine. But the windows service writes all the actions that are encountered during each process in ...Show All
SQL Server OLAP administrators group.?
hi all.. i have a problem about sql server analysis. i try to connect sql server for OLAP but i can't. sql server analysis give this error "unable to connect to the registry on the server or you are not members of OLAP administrator groups on this server" i use Windows Xp Pro and Sql Server Developer Edition. how can i solve this problem.. Please provide more details Same machine for Analysis Manager and Analysis Services or different machines Service Pack 3 or greater on both machines if different machines ...Show All
Visual C++ Problem seeing my window
I just got Visual Studio 2005 and I tried to make a program using Win32. The program is just displaying a window. When I compile the code I get no errors at all, but nothing happens after that. My window doesn't pop up. I made sure that I had the functions: ShowWindow() and UpdateWindow, but apparently that wasn't the problem. Please help. Well, it's really impossible to comment without seeing the code... Have you set up a message loop such as this one while (GetMessage (&msg, NULL, 0, 0)) { TranslateMessage (&msg) ; DispatchMessage (&msg) ; } ...Show All
SQL Server How to access different sql server with quey analyzer?
Hi everybody, I do not know if this is the correct area to post this topic So, How to access different sql server with query analyzer Usually, when to install sql server, it access the database server locally installed, now I like to access other sql server within a domain using query analyzer. How to configure this in order I could use query analyzer to access other sql server within a domain Thanks in advanced. den2005 Simply choose Connect from the menu and connect to a different server. If you want to you another server in your query you can setup a linked server whereas you can query across ...Show All
Visual Studio Web Service(SSL) access requires Windows Server 2003?
In the document of how to setup SSL for VSS , the first step is: To enable SSL: 1. Ensure that Windows Server 2003 is installed on your computer. 2. ... Does it require Windows Server 2003 Now I'm using Windows Server 2000. Could it work Thanks! Hi Emmanuel, You should read for start these threads: http://forums.microsoft.com/msdn/ShowPost.aspx PostID=2774 http://forums.microsoft.com/msdn/ShowPost.aspx PostID=4906 that talk about manual registration of VSS web service Alin ...Show All
Visual C# Developing C# with Generics
Hey, I'm trying to create an attribute called "QueryStringAttribute" and when it is on a property I want to grab the query string from the property, Run the query, and Set the value of the property. My Attribute is: [global::System.AttributeUsage(AttributeTargets.Property, Inherited = true, AllowMultiple = false)] public sealed class QueryStringAttribute : Attribute { private string queryString; public string QueryString { get { return queryString; } set { queryString = value; } } public QueryStringAttribute(string queryString) { this.queryString = queryString; } and my code is: private v ...Show All
Visual Basic DirectoryInfo.GetFiles Method
Hello all, For the DirectoryInfo.GetFiles(String somePattern) method, how can I retrieve more than one type of file If somePattern = "*.txt" I obviously can retrieve all txt files, but if I wanted to retrieve all txt and doc files for example, can the somePattern string represent that I tried the common sense possiblities (e.g. "*.txt, *.doc", "*.txt; *.doc", etc) but to no avail. Thanks guys. N. Farr Use "*.*", then use the Path class to filter out the ones you're interested in. ...Show All
