MotMan's Q&A profile
Windows Forms binding a listbox
Ok, I have a Database which has a table 'Projects'. with fields ID, ClientName, Address, Phone, County & Workers. I would like to bind this such that i have a list box showing all the available Client Names. I would also like to ...Show All
Windows Forms is threre a message box which does not block the execution of the program
hi all i want to know is there a information message box ... which does not block the execution of the program..... i want a message box which does not reqires a user input but just to gives a alert of the information... and destroys ...Show All
Visual Basic Current Record
Hi All; How can i determine the index of the current record. I need to add a navigation functionality to my application. Move first, previous, next and last to my application. How can i do this any suggetions is very much appreciated. Thanks in advance ...Show All
Visual Studio 2008 (Pre-release) ObjectDataProvider.ConstructorParameters and Feb CTP
Hi everybody, I'm trying to use ObjectDataProvider.ConstructorParameters but it doens't appear in Visual Studio, in intellisense. Here is my code: <Window x:Class="DemosWPF.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="DemosWPF" Height="768" Width="1024" WindowStartupLocation="C ...Show All
Visual Studio Team System Problem while creating a New team Project
Hi all , My siteurl is http:\\tfs-app.default.aspx. Inside this site I created a subsite called TestDemo. I have created New Team Project Named TestDemo. When I Right click the Project and show project site. Its shows my sharepointsite(i.e http:\\tfs-app\sites\TestDemo) Problem 1: &n ...Show All
Visual C++ Port in use!
Hello, I am working with a database program(client-server) developed using visual studio.When i install the program and open the database, i get the error message "Port in use".But this is not the case when i run the program from the visual studio.In my code m_server.ConnectTemplate(clsid, pDocTemplate, FALSE); Can anybody explain me, whether setting the parameter to TRUE could help in anyway I have very less experience wi ...Show All
SQL Server Error:max row size can not be more than 8060 characters in Sql-server2000
Hello I am getting following error during executing a insert query. Error Message : Cannot create a worktable row larger than allowable maximum. Resubmit your query with the ROBUST PLAN hint. 1. The max rowsize for a table in SQL Server 2000 is 8060 characters. 2. The query was working fine for data below the limit, it failed for the data above the limit. 3. I had tested the UPDATE query with option (ROBUST PLAN ), but it d ...Show All
Visual C# dropdown and textbox
hi, i have this code. it populates the dropdown from database. whenever the user selects from the dropdown it will display the equivalent value of the text chosen. i don't know what's missing with my code it does not display the value on my textbox. private void Page_Load( object sender, System.EventArgs e) { if (!Page.IsPostBack) { //string MyConString2 //MyConnection MyConnection.Open(); string prj ...Show All
SQL Server SQL Task - passing parameters
Hello, I have a SQL task wich executes the following statement on a OLEDB connection (SQL 2005 DB): TRUNCATE TABLE DimTime GO DECLARE @CurrentDate AS Datetime DECLARE @EndDate AS Datetime SET @CurrentDate = '10-20-2003'; SET @EndDate = '10-20-2005'; while(@CurrentDate < @EndDate) begin INSERT INTO DimTime SELECT DATEPART(month, @CurrentDate) AS MonthNumberOfYear ,DATEPART(quarter, @CurrentDate) AS CalendarQuarter ,DATEPART(year ...Show All
Visual C++ Platform SDK
Hi narechk! > Why is not PSDK included with Beta 2 (Express) Will it be available > in the same package when VS2005 ships It was quite convinient to have > PSDK being installed along with VC++ 7.1, since just about any program > nowadays beyond 'hello world' #includes "windows.h" et al. VC2005 Express is primarily designed to build managed apps; and therefor you do not need the PSDK. By the way: it is no problem to download, insta ...Show All
Visual Studio Tools for Office Toolbox weird behavior!!!
I am using VSTO 2005. I am working on an Excel Template. Suddenly the toolbox becomes disabled and prevents me from adding controls to the Excel sheet but it is enabled in regard to the taskpane. I reinstalled VSTO and it was enabled but now disabled again. Do you have any idea this is very urgent.... Thank you........ What are you doing immediately before the toolbox becomes disabled Also, after ...Show All
Smart Device Development Catching IOException during Bluetooth Serial comm
I have a timer event that periodically (5 seconds) writes to a Bluetooth Serial port. If bluetooth is turned off, the app immediately comes out with a IOException error and stack trace and terminates. Since this seems to be occuring while waiting for the timer event to occur, I cant enclose it in a try catch. There doen't appear to be a global exception handler either. I would like to be able to catch this exception to reset the app back to an i ...Show All
SQL Server Can we create two servicess in a same database?
Hi, I tried creating two services in a same queue but i couldnt see them working properly. Now i got a primary doubt that can i create two services which communicate with each other in a same database Please help me.... here is the script which i used to create the services /************************************Scipt *********************************/ /********************** Sender Queue and Service ***********************/ CREA ...Show All
Visual Basic oledb vs sqlclient data adapter performance when running in ide
I have a fairly wide table on a MS Sql server 2000 server. Pulling about 6000 rows using a the oledb namespace in the ide takes about 6 seconds. Using the sqlclient namespace it takes about 0.3 seconds. When run outside of the ide, the sqlclient takes about 0.2 seconds and the oledb takes about 0.3 seconds. Why the huge increase for the oledb namespace I'm using a 3rd party assembly for some data access. They use the oledb namespace because not ...Show All
Visual Basic Scripting, FileSystemObject, probably bug
Good morning. Before the problem, sorry by this poor English I’ve used! Did someone knows why is possible to create a folder with no name using FSO Let me explain: I love to know the limits of any library, so, I "play" with them to check it. So, one of things I made with FSO was create a folder with no name. Well, the answer was not like that I was expecting: The folder now exi ...Show All
