Briam's Q&A profile
SQL Server ADO Connection issue
Hello All, I have made a small application on my system in delphi v7 that uses the ado connetion components and works fine on the remote sql server db. But my client gets a "cannot find server" on his system with the sql server/db local. My connection string this... Provider=SQLOLEDB;Password=password;Persist Security Info=True;User ID=USER;Initial Catalog=MyDB;Data Source=SERVER01; his connect is... Provider=SQLOLEDB;Password=password;Persist Security Info=True;User ID=USER;Initial Catalog=MyDB;Data Source=HISSERVER01\APP; I have changed the Data Source to (local) and local, as seen in another post but this had not effect. We have check his MDAC version verse mine and they are the same, save he has sp ...Show All
Windows Live Developer Forums DEP blockin Live Messenger 8.1
Why does DEP keep block my Live Messenger how do i overcome this problem I tried this, but when I click on the advanced tab, those options are greyed out, even though I am the adminstrator on my computer, is there a way to ungrey them Thank you ...Show All
Visual Basic Checkbox value in datagrid
Hi every one. I am working on a web form which allows people to tick on a specific item they would like to reserve. I have a datagrid which contains 5 data fields. It also contains a template colunm which contains the checkbox. (The sixth colunm) The problems is no matter user tick on the check box or not, the checkbox value remain the same. Therefore, the code can not tell what has been selected by users. The following codes are used in this web form I described above. Code in html <asp:DataGrid id=DataGrid2 style="Z-INDEX: 107; LEFT: 328px; POSITION: absolute; TOP: 504px" runat="server" DataKeyField="CRID" DataMember="CourseReader&qu ...Show All
Visual C# How to write Debug directive in CS file?
In aspx file, it is written as "<%@ Page Language=C# Debug="True">". In CS file, how to write it. My purpose is to get a pdb file after compilation of the cs file into dll file, so that I might trace the line number once some errors occur in web application. Thks a lot! If you are using ASP.NET 1.1 and VS2003, you'll need to change your project to select the debug configuration (go to Build -> Configuration Manager on the menu). This controls the settings for the assembly with your code-behind. In ASP.NET 2.0 / VS2005, with the default web site project model, it's all controlled by web.config. See: http://odetocode.com/Blogs/scott/archive/2005/11/15/2464.aspx ...Show All
Microsoft ISV Community Center Forums Urgent HELP!!!!! VB in MS Excel
I have a data file in Excel which contains a lot of information for different hospitals. I want to create separate Excel files which contains the information specific to one hospital - I don't want hospitals to see data from other hospitals. Ideally I would like one click that will generate the reports for me I am not sure how to go about this. I have some VB code but for business objects and it doesn't work in excel. Please help!!!! You can also try using Pivot Report, or maybe a combination of VBA (Macro) and Pivot. Doing so lessens the coding. ...Show All
Visual FoxPro SELECT .... INTO TABLE <existing table>
G_TempDBF = "C:\scratch\" + SUBSTR(SYS(2015), 3) + ".DBF" SELECT field1, field2 FROM myTable INTO TABLE (G_TempDBF) USE (G_TempDBF) ALIAS CUSTOMER INDEX ON field1 TAG field1 I have created a temporary table, stores the retrieved records into it and alias it CUSTOMER How can i reuse this temporary table for other SELECT statements SELECT field3, field4 FROM myTable INTO CURSOR CUSTOMER ---> results in an error saying Alias CUSTOMER has been used. If they ever created on disk (with some old versions they're always created or at least file handle is allocated provided that they're true cursors)... Actually it's one of the reasons why you should prefer ...Show All
Visual Basic Why does the file reference change to the local copy?
Hi, Project A references a dll (Project B). This reference's 'Copy Local' property is set to true. Build Project A and a copy of the referenced dll is created in Project A's directory, great. Now; change Project B and rebuild.. ..the instant that vs2005 deletes the dll during the rebuild, Project A says, 'hey.. where's that dll i'm referencing gone ' .. and then proceeds to remove my original reference to the dll, and replace it with a reference to the local copy. This means, whenever I make changes to my dll (Project B), I have to remove the 'changed reference' and add back the correct one. This can't be how it's supposed to work ! Is there a setting called.. "When a referenced dll 'doesn't exist anymore', don't try ...Show All
Visual Studio Express Editions Trouble running a program
I just made a small program. I tried to send it to a friend. Apparently my friend can't run it, needs the .Net framework to execute the program. Can someone please show me how to build a program in Visual Basic 2005 express edition so that anyone using windows can execute it Thanks No, not at all. The framework or Common Runtime Library is a set of Dot Net support DLLs and APIs, compilers and utilitiies. You never see it but it is not VBE or the VB IDE they are in no way required. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Performing custom blending in pixel shaders?
Hi, I've read that in xna the fixed function pipeline has been wholly removed, with the exception of alpha blending. My question is, is there a way to do blending in the pixel shader anyway, for example: to write a full screen shader that takes what has currently been drawn and applies some effect to it (ie. makes the scene black and white, applies blur, whatever) that can't be achieved with just alpha blending Or is there some other standard way of doing this I was talking post-process yes. What I meant was how do you read the current frame buffer values you want to modify to do post-process or should I render the scene to a texture first ...Show All
Visual Studio Express Editions open a file
hi guys can someone please tell me how to open a text file in my application it is named .....contacts.txt it is stored in notepad.... and I find these help files absolutely useless... I want to click a label to open this file.....either by opening notepad. or to open in my form thanks cheyenne You could also try this: Dim textString as String FileOpen(1, filepath, 1) FileGet(1, textString, 1) FileClose(1) textbox.text = textString ...Show All
Visual C++ making standalone exe
when i am making a program that uses the .net framework (2.0) how can i make the executable into a standalone executable (so that the computer it is running on does not have to have the .net framework) thanks in advance You'll need a .NET bootstrapper to install the .NET Framework prior to launching your application. Please take a look at this article about the .NET Bootstrapper in Visual Studio 2005 . Marian Luparu Visual C++ IDE ...Show All
Visual Studio 2008 (Pre-release) Bug when MouseLeave Event in ControlTemplate?
Hi, I have a control template that has an event that is being triggered on MouseEnter and MouseLeave. < Style TargetType = " {x:Type Expander} " > < Setter Property = " Template " > < Setter.Value > < ControlTemplate TargetType = " {x:Type Expander} " > ... < Grid x:Name = " grdHeader " Background = " {TemplateBinding Background} " > < Grid.Triggers > < EventTrigger RoutedEvent = " Grid.MouseEnter " > < EventTrigger.Actions > < BeginStoryboard x:Name = " FadeHalfIn " > < Storyboard TargetName = " tbnToggler " > ...Show All
Internet Explorer Development IE 7 and OWC controls
My web pages run fine in IE6 that use the OWC (Excel) control. I'm now testing my same web pages in IE7 and I'm unable to view my OWC (Excel) control. What would cause the OWC not to work in IE7 and how (if possible) can I get my pages to work in IE7 that are using the OWC (excel) controls ...Show All
Windows Forms How can I do virtual mouse click?
Hi all, I have to do a virtual click on any position on window(I mean click by not use a mouse ). How can I do that in C# Thank a lot. Hi Sven de Bond, Cane you telle me how to do a virtual mouse click in Visual Basic nicknehoux@hotmail.com ...Show All
Software Development for Windows Vista Deployment of a Workflow
how can a workflow be deployed and installed on a remote server machine my objective is to build a sharepoint template with its workflow(that uses WCF to connect to other remote services in a distrubted system enviroment). what is the best way to deploy my pacakge A better place to ask your question might be the SharePoint 2007 beta newsgroup found at http://www.microsoft.com/office/preview/community/newsgroups.mspx . ...Show All
