billg51's Q&A profile
Windows Forms FillByParameter - using parameters with the Select Statement
Hi, I want to open a new form (form2) and have it load only the data for an item chosen from a datagridview in form1. In the constructor, I'm passing the ID of the record chosen to the constructor of the form2 in the field mID. Form2's data is in a master-detail relationship. So I have created a dataset, dsSermons21, that contains the 4 other child tables. In dsSermons21, I have created a new parameterized Select query call FillBySermonID. Now, If I understand this correctly, I use the following to fill the Sermons table of the dataset: DsSermons21.Sermons.FindBySermonID(mID) I do not know where it got FindBySermonID from, then name of the new query is FillBySermonID, but that is what came up in intellisense. If this is ...Show All
SQL Server Host_id() and Citrix
Hi, I'm wondering about the behaviour of the HOST_ID() function with clients running on a Citrix server. As I said in my post about "dynamical views", I'd like to use the host_id as a terminal ID, assuming this number will be unique. In my current configuration, each user has a client on his workstation which connects to SQL Server, an it works fine. But what happens if i migrate my clients on a Citrix server. Will I always have the same host_id or not that's what i 'm afraid of. Is there another way of identify a user's session. i thought about @@spid for instance. the goal is to dynamically create a view named 'MyView_' + SessionId. that's why host_id was helpful. ...Show All
SQL Server Send Mail Task failing under SQL Agent
Using SQL 2005, SSIS, I have an SSIS package which is scheduled as a SQL Server Agent job. The package contains a Send Mail task. This task fails when SQL Agent runs the package. The task succeeds when executed interactively from the package, logged on as the SQL Agent service account. The package as a whole succeeds when executed from "Start Debugging". An Execute SQL Task in the same package containing an sp_send_dbmail statement succeeds when SQL Agent runs the job, and the same sp_send_dbmail succeeds in Mgmt Studio query window. All these events all logged onto the server as the SQL Server/SQL Agent service account. I would appreciate ideas on what else to check for here, so that I can use the Send Mail SSIS task in pac ...Show All
Windows Live Developer Forums WOW Excellent
This has to be the best GPS PocketPC software that interfaces with the internet that you can find, and that you don't have to pay $130 for. Keep the excellent work, you can easily make a company worthy of being acquired by google, microsoft, yahoo, or mapquest. Congratulations!!!! lol. I'm assuming your talking about Mobile Virtual Earth Correct me if I'm worng but Jason Fuller works for Microsoft right John. ...Show All
Visual C# How to create exe file from my program
Please help me quickly !Thanks . I am not sure what you mean, but try the following! Whenever you compile your code an exe is created in the Project Name\Project Name\bin\Debug\ directory.... For example if your project was called test1 and you have saved it in C:\, the you should check the directory C:\test1\test1\bin\Debug\ for the .exe file kirchu ...Show All
Smart Device Development How to read an SMS ...... WM5
Hi, I need to have an application in c# using VS2005 and Windows Mobile 5.0, this application will have the same behaviour of a windows service that will check from 5 on 5 seconds if any SMS arrive and then if it's content macth with something, the application will perform a task. Does anyone knows how can i do this Any sample code Thanks Check this out: http://msmvps.com/blogs/donscf/archive/2006/04/03/89053.aspx ...Show All
Visual Studio Express Editions free for using?
The visual express software are free for download and implementing applications. Can the application or web application built be able to run in runtime Is it free from implementation of the application to usage of the application Yes, what you create with the express editions are yours and you can freely install it to use in real live applications. There are no limitation on what you do with your creations. You can even package the applications you make and sell it as a commercial product. ...Show All
Windows Search Technologies WDS 2.6 does not index mailbox and PST while Office Group Policy is used
We have a MS Office 2003 Group Policy (GPO) that turns on many of the Outlook controls. (This is not the GP for Desktop Search...but for Outlook, Word, etc.). Windows Desktop Search 2.6.5000.5401 will not index emails in the Exchange mailbox and the Outlook PST files until I "turn off" the Office GPO. Can you help me determine which particular policy/rule within that Office GPO is affecting WDS And what might we do so that we can keep our Outlook/Office GPO as it is but have WDS be "accepted" and get past the GPO rules Thanks. Hello Abe, We've not run into this problem before. This one is going to take a little bit of research on our end. I hope to be back to ...Show All
Visual Studio Visual Studio 2005 Service Pack 1 Beta
Has anyone else tried to install the beta of Visual Studio 2005 Service Pack 1 Just running the setup program hogs my machine. It literally took over an hour, maybe more, for the message box to come up asking me if I wanted to install it. I tried it around 4:15pm yesterday and since it was still going even past 5pm I just left work figuring it would be installed by the time I came back in the morning. Well, I'm back and all I see is the message asking if I want to install. I say yes and then a few minutes later it comes back saying I have to uninstall the Web Application Projects addon because the release version is included in the service pack. Great, I hit OK and now I have to start all the way over! I've never seen an install program h ...Show All
.NET Development unable to load dll using PInvoke
Hi, I am having a problem trying to load a dll. I have an external peice of hardware called the MTC Express. It comes with a API in dll format. Im using PInvoke to try to call function in the dll from my c# application. My code looks like this. [ DllImport ( "C:\\ttxmtc.dll" , EntryPoint = "MTC_GetAPIVersion" )] public static extern bool MTC_GetAPIVersion( char [] buf); public static void Main() { char [] buffer = new char [128]; bool b = MTC_GetAPIVersion(buffer); } When I call GetAPIVersion, I get the error Unable to load DLL 'C:\ttxmtc.dll': A dynamic link library (DLL) initialization routine failed. (Exception from HRESULT: 0x8007045A) I've r ...Show All
.NET Development RTC CLIENT and C# example
hi all, Excuse my ignorance, but I am kinda new to this kinda programming, what I am looking for is an example using RTC CLIENT, to make a soft phone to call pc to pc, so I don’t need any sip configuration, just communicating via ip address, and I have been doing some reading about rtc client and it says that it is very easy to do but I don’t know where to start, so a small example would be much appreciated best regards, qkhader Microsoft has Windows RTC Client SDK which can be used to build real time collaboration system, like audio, video messaging. But I dont thing it supports .Net (I checked it a long time ago.) Its for C++ language and also depends on Session (Sorry If i'm wrong because i have never us ...Show All
Visual Studio Team System Actual End Date and Actual Effort
Hello all, I have the requirement like this: 1] if Actual End Date entry has been made then the Actual Effort should become the mandatory field. 2] Also, I am having one CUSTOM work item in which you can link TASK, BUG etc., if actual end date has been made in CUSTOM workitem, all the associated tasks, bug etc. which will have the effort hrs should be summed and rolled up in the CUSTOM work item in Actual Efforts. Please help me out in this regard. Thanks, Kathir Kathir, You can edit existing work item types and create your own to do what you've asked. If you download the "Team System Administrator's Guide" and look at the topic "Customizing Work Item Types" it sho ...Show All
.NET Development unprotecting word docs
I'm trying to unprotect some word documents but everytime I try and run the program the prog snags on the : doc.unprotect() statement It states " Object reference not set to an instance of an object." I've done it like other sites have said to do it but it will not work! Any assistance would be greatly appreciated!!! Please show us more code. Eg. from where you declare the "doc" and on... Regards, Lars-Inge Tonnessen Microsoft VJ# MVP ...Show All
Visual Studio 2008 (Pre-release) ImageBrush with video
Hello all, I know how to brush an object with an image: Brush: <ImageBrush Stretch="Fill" x:Key="elipse1Brush"> <ImageBrush.ImageSource> <BitmapImage CacheOption="OnLoad" CreateOptions="IgnoreImageCache" UriSource="building.jpg"/> </ImageBrush.ImageSource> </ImageBrush> Object: <Ellipse Fill="{DynamicResource elipse1Brush}" Stroke="{x:Null}" x:Name="movieElipse_" Width="347" Height="187" Canvas.Left="105" Canvas.Top="70" TextElement.Foreground="{x:Null}" AllowDrop="False"> <Ellipse.BitmapEffect> <DropShadowBitmapEffect/> ...Show All
Visual Studio Express Editions sounds
If you have a 3 wave-files: - theme.wav => backgroundmusic - explosion.wav => explosion - movement.wav => when a character moves I want that the theme.wav starts from the beginning and never end so a .PlayLoop(). But then I want that my character moves when an arrow-key is pressed. Ans if it plays it shouldn't interupt the theme.wav and you should keep hearing the backgroundsound. Same with explosion.wav. Please help me with eather a code sample or a good link for the beginner level. We can't help you with really unknown errors, other than that somebody might know but will need you to tell them what they say. Try posting on the ActiveX forums for any DirectSound problems or questions. ...Show All
