Muricy's Q&A profile
.NET Development Client Server Communication
Hey all, I am investigating a system that will be comprised of two components: a Windows Forms application that will be installed on client machines, a Windows Service application that will be installed on a Windows server. The client will need to poll the service across a standard Windows network to check to see if the service has any data to send. If there is data available, the service must send it to the client so that the client can use it. The question is how do I implement this functionality I am wanting to keep the system complexity low and it needs to be fast. I was thinking about using TCP/IP sockets, but have little knowledge about this so any advice you guys have to offer would be great! Thanks in advance, St ...Show All
Visual Studio Express Editions visual basic express database design capabilities
I started a database model in Visio 2003, but learned that it's capabilities for printing table and column definition properties are practically non-existent. Does Visual Basic Express have the capabilities to print, or export to Excel or Access, the full range of table and column definitions including the notes/descriptions for each column and their datatypes This would be for documentation purposes. Thanks! The best way to document the tables and systems is to use a combination of tools. Yes you can get some images from the VB Express Edition, but not all. My suggestion would be to drop over to sqlservercentral.com and have a look at there script library, there you will find examples ...Show All
Visual Basic Open A Software Program within VS Created Software
Hello, Can anyone help me please. I have a file and its path is c:\myfolder\myfile.mde I want to add a button on a form and in teh click event I want to launch the above file. Can anyone help me please with sample code. I am using Visual Basic in Visual Studio 2005. Thank You Joe Process.Start (" c:\myfolder\myfile.mde") ...Show All
Software Development for Windows Vista Can WWF can run with Framework 2.0 ?
My company's developping project using Visual Studio 2005 Professional (DotNET framework 2.0). My work's using WWF. Can I use WWF with this version of Framework How to install and use And if the answer is "Can't" and I have to install DotNET framework 3.0 and Visual Studio 2005 Extensions for Windows Workflow Foundation. May my project can work well with the others using framework 2.0. My project just is a part of my company's project. Please help me ! Tom Lake - MSFT wrote: The video was created on 9/14/05 based on Beta 1. There have been many changes since then, to include those you have mentioned. Ok, I see. But How to take Parameters item and others on Properties. ...Show All
SQL Server 2 node Active Active SQL Cluster
I want to host 2 seperate SQL databases and wanted to know if it would be possible to run this in an active active cluster config which each database running on a different server. The clustering would be there in the event of failure of one of the servers but for normal operation the two sql instances would be completely seperate. Is this configuration possible and would this give the best performance and resiliance from a 2 server setup. What do you think Thank you for your answer. We want to limit our hardware costs for the best performance so I think we will accept the reduced performance of when one of the servers is down. ...Show All
Audio and Video Development Please post your experiences burning discs for testing content
As a community service, can you please reply to this thread with your successful combinations for burning DVD discs for testing Just trying to get a list of options for folks who are trying to get content onto the players. In particular: Which type of disc did you use (+R, -R, etc.) Which software did you use to burn it What options did you have turned on etc. Not so interested in hearing about failed attempts :-) Thanks! Hi Peter, I am not sure if this helpful but our team did a white paper in which we used Nero 7 to test burn +R and -R from 6 major brands. We burnt the same content onto 10 discs from each brand and then tested the playback of each disc. the full white paper can be found here: http ...Show All
.NET Development multiple threads for multiple cameras
Hi! I have a problem with a form that has to display the images taken from three cameras. I'm using three Axis IP cams, that provide the images to te PictureBoxes, and each PictureBox is being in the separated thread. public void PutImagePictureBox1() { Thread pictureBox1Thread = new Thread(new ThreadStart(SafeImageLoad1)); pictureBox1Thread.Name = "PictureBox1 Thread"; pictureBox1Thread.IsBackground = true; pictureBox1Thread.Start(); } To refresh the PictureBoxes, I'm using Invoke. public void SafeImageLoad1() { while (camera1_.bInuse == true) { try { image1 = camera1_.GetImage(); ImageLoad1(image1); } catch (ThreadAbortExcep ...Show All
SQL Server Bug?? Transfer SQL Server Objects Task - error when copying Views
I'm trying to copy data over using a Transfer SQL Server Objects Task however I get problems trying to copy over views. I get the similar error (pre sp1) when using import/export wizard and copying over views. Now with SP1 the views just don't transfer. I'm transferring from SQL 2005 to SQL 2005. The error I get is: Error: 0xC002F363 at Transfer Data (NEW), Transfer SQL Server Objects Task: Table "vw_XXXX" does not exist at the source. Task failed: Transfer Data (NEW) I know the view exists at the source because: A) I can select it in the Views List Collection within the Transfer SQL Server Objects Task B) I'm using the view on the source Somehow the views are not transferring. Anyone have any ideas ...Show All
Visual C# Something like the VB Iif statement in C#?
I'm looking for something like the Iif statement in C#. Some idea Regards. C# has what is known as the "tertiary operator", which works like this: booleanExpression trueValue : falseValue ; In practise, this is used like this: int count = GetItemCount(); // Change display text depending on count string itemText = count > 1 "items" : "item"; Console.WriteLine("Found {0} {1}", count, itemText); ...Show All
Visual Studio 2008 (Pre-release) WPF Bug: Fatal Exception 0x80131623 and ReturnEventHandler
I just ran into what appears to be a bug in WPF, or at least an undocumented requirement. Essentially, it appears the method implementing the ReturnEventHandler for a PageFunction.Return event must belong to a PageFunction or the entire application just faults and terminates immediately with 0x80131623. There are no prior first chance exceptions appearing in the debug console that I can find which might be contributing. The following is further elaboration of the scenario. PageFunction1 has a button that triggers a RoutedUICommand. Command1, among other things, implements OnExecute and OnCanExecute as RoutedUICommand event handlers. RoutedUICommand1, Command1.OnExecute, and Command1.OnCanExecute are bound to PageFunction1 u ...Show All
SQL Server ssis job fails with "package execution failed"
Hi, I have a dts package migrated from sql server 2000 to sql server 2005 clustered server using migration wizard without any problem. I have created a new job on sql server 2005 and one of the steps involves executing the SSIS package. It keeps failing with the error message "package execution failed". I have logged in here as a domain administrator (as also a local administrator). I followed Article ID: 918760 but did not help. I need this to be resolved asap. Any quick help, much appreciated. Thx Murali Are you sure you follow the sugestions on that article The error you received makes me think you are usen a SSIS step type; by using CmdExec you will see more descriptive errors: Make sure ...Show All
Game Technologies: DirectX, XNA, XACT, etc. The HLSL Workshop from the SDK
I have worked with shaders before, but not very much. I want to delve into shader development, and thought the HLSL Workshop to be a good starting point. However, I don't know how to actually get the tutorial FX files to run. Here's what I've tried so far: Opening the FX files in the DirectX Viewer. The viewer wasn't able to load any of the files, and gave this error for each: "- Global parameter not found. Effect is not SAS-compliant." Making the BasicHLSL solution ( mentioned in the HLSL Workshop docs as a tutorial for debugging shaders ) use the tutorial FX files, and loading the skullocc.x file instead of Tiny. This cause a lot of runtime errors to be thrown when setting the values for the effect object. I'm sure th ...Show All
SQL Server Problems with the aggregate function on a SP1 AS 2005 installation
We are using the Aggregate function in order to calculate totals for month members on the row axis. This calculated member is supposed to calculate Totals for every measure on the column axis. The problem is that this works fine with simple calculated members like the division of two measures. But If a calculated member includes a time function like YTD or Parallelperiod aggregate returns null. If I use Sum on a calculated member with YTD everything works fine. This must be a bug Regards Thomas Ivarsson Hi Thomas, Could you provide more details of how you're using Aggregate() - I suspect that this behavior might be by design Aggregate() didn't support calculated measures in AS 20 ...Show All
Visual C# How can I use C++ code in visual C# application???
Good night guys! If U have seen the subject, U can understand I have a problem. I have a C++ source code programm and I need to use it in a visual C# application but i am just learning this lenguage. I don't know if visual C# and C++ are compatible or not. I hope U can tell me something about this.....I'm in a crossroad. I wait answer. Thanks for all Yes, I see the DLLImport, but after I can do a DLL, and I don' t know do the DLL with Visul Studio from C code. ...Show All
Software Development for Windows Vista Playsound problems!
Hi all, Having a problem with playsound. I'm working in VB5 on an app that has given no problems under any other version of windows. Whenever I call playsound: xx = PlaySound&(Pingfile, 0, &H1 Or &H20000) I have about a 50/50 chance of it playing or giving the dreaded "Program has stopped working" thing when running compiled under Vista. There is never a problem when running the code interpreted in VB5 ! Any ideas After further investigation: The crash only happens when the exe is in it's installed folder: C:\Program files\Clipm8 (with read and execute rights) It does not happen when it is run from my vb development folder (with full control rights) The crash also happen ...Show All
