Wasim's Q&A profile
Visual Studio 2008 (Pre-release) TCP Communication freezes up
I have created a set of contracts and implementations for a series of business objects. I have set up a basic Console application that hosts the services (about 40) using TCP as an endpoint for each service. When I run my application and the services are being called the application freezes up. If I set a break point where the services are called and step through each service call everything executes correctly. What do I need to be looking at to correct this problem It sounds like you may be running into a throttle. First thing to try, check out these links http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=945172&SiteID=1 http://blogs.msdn.com/karstenj/archive/2006/11/15/wcf- ...Show All
Visual C++ Image compression in Clipboard.
Hi, Is it possible to controll the image compression while copying it into the clipboard. I'm using CF_BITMAP. May be the compression is not the right word for what I maen. For example: While truing to copy any image from one programm to another by standard copy/paste prosedure (let's say from some image viewer to PowerPoint) the filnal .ppt file size you get is X . In other hand, if you'll paste the same image by "paste special" to the same .ppt file - the file size you'll get is alot less than X . The third way do do it, is to save the image as .JPG file and insetr it to presentation by Insert->picture->from file, and then the file size is even less than the last one ...Show All
.NET Development Query question
I'm trying to design an availability checker in VB2005 with an Access2003 backend. I'm currently doing the check like this: Dim conInsert As OleDbConnection Dim cmdInsert As OleDbCommand conInsert = New OleDbConnection( "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=|DataDirectory|\customer bookings be.mdb" ) cmdInsert = New OleDbCommand( "INSERT INTO tblCheck(RoomNo) SELECT Room_No FROM tblRoomDetails WHERE Room_Type='" & cboRoomType.SelectedItem & "'" , conInsert) conInsert.Open() cmdInsert.ExecuteNonQuery() conInsert.Close() Dim conCheck As OleDbConnection Dim cmdCheck As OleDbCommand Dim drCheck As OleDbDataReader Dim strCheck As St ...Show All
Visual Basic I can not edit code while debuggind and in break mode
When I am in break mode, I cannot update code. I receive message "Cannot currently modify this text in the editor. It is read only." Can anyone explain why I get this message All the Best, Charlie Let me take a guess As you dont say, I would hazard a guess that its the 64 bit machine that doesnt allow edit and continue. This is because 64 bit doesnt support edit and continue. I'm not sure if the Express version allows you to specify a specific target which the other versions of VB / VS do - so you can specifically target 32 bit (any CPU) and this then should support Edit and Continue. This may provide some clues to the problem. ...Show All
Windows Live Developer Forums windows messenger live status problem
Hi, I use windows messenger live and i have a problem, when i'm online my contacts see me offline. I aprecciate your help! Thanks, Mauro im sorry but this is the incorrect forum for your question. These forums are for software development and yours is a technical support query. The best place to ask would be the support guys over at: http://support.live.com Thanks! ...Show All
Visual C# video frame extraction&turn still pictures into animated GIFs
Hi, 1.Can anyone kindly tell me how to extract video frames to (.bmp,.jpg) from video(.mepg,.avi) 2. And how to turn still pictures into animated GIFs using C# thanks Frank It doesn't sound like the whole application to me, just like a major function in the application. First results on Google for "c# extract video frame" (no quotes) are: http://www.codeproject.com/useritems/ExtractVideoFrames.asp and http://www.codeproject.com/cs/media/avifilewrapper.asp For the animated gif, try http://www.codeproject.com/dotnet/NGif.asp , and make the correction in the comments if needed. ...Show All
SharePoint Products and Technologies Create Task Activity has correlation token conflict when in While Loop
Hi everyone, First time posting here. I'm having a problem with developing a MOSS Workflow. The scenario is this: Within my workflow, I have a while loop construct. Within this while loop, there is a series of CreateTask->Wait for Task to be Changed -> CloseTask. It works fine until it loops back around to try to create another task with the same correlation token. In fact, that's the error I get. How do I get around this issue by disassociating the token or something like that. Thanks in advance for any help. rnellis2002 Hi rnellis, I belive you need to create a sequence inside a Replicator activity in order to accomplish this. Eliene Hao mentions it in her post here: http://blogs. ...Show All
Visual Studio Express Editions Can't re-install VC++ or VC#
A little background before I ask my question. I bought a new hard drive (WD Caviar SE 7200 RPM), installed it and partitioned it with 3 seperate partitions (20 gig NTFS, 20 gig FAT32, and 280 gig NTFS). I transferred all files from my old hard drives to the new one via a utility provided on the CD that came with the hard drive which I purchased. After getting everything transferred, Windows XP SP2 ran just fine but when I went to run VCExpress or VC#Express they wouldn't run. I attempted to reinstall them but the images I mounted on CD wouldn't run either. I get the following error message: The Windows installer package: e:\vs_setup.ms_ could not be opened. Choose Retry to try again. Choose Cancel for exit setup. I co ...Show All
SQL Server "Upgrade" from 2000 to 2005, version still says 8.0.2039
I just installed 2005 and accepted all the defaults to upgrade the default instance of 2000 as prompted. However, when I open the SQL Server Mgnt Studio, my server shows 8.0.2039 as the version which is 2000, and I can't restore a backup from another 2005 server, because it gives an error message like it still thinks its 2000. The whole installation process went fine including sp1. I looked in Services to see if there was more than one instance of SQL Server, and there isn't. Also, all my database files are still in the old 2000 (mssql\data) directory. Any ideas, solutions Thanks. Michael I have the same problem. It's like the upgrade didn't totally happen. The new Management studio is installed, but t ...Show All
Software Development for Windows Vista Burn video stream directly to DVD !?
Hi, to all !!! I'm new to this community.... i'm searching info about bunrning method in windows vista... It's possible to burn a video stream, such as camcorder, directy to DVD using IMAPI v2 in windows vista (rc1), and where i can get info Thx for all response !! Crashes in Movie Maker and DVD Maker are typically caused by third party codecs which get put into our process when we render the video files. Fortunately you can tell Movie Maker and DVD Maker to stop these filters from being used within our processes. Try going to the Compatibility tab in MovieMaker and turn off the filters that appear and then try importing the files again. See the following post for more details on what this does. http://blogs.msdn. ...Show All
SQL Server DROP DATABASE problem
I am facing a trouble with DROP DATABASE command. Let me explain it this way: Actually I am building an installation package which executes a series of SQL scripts to do the database changes on the target machine. Steps are briefly listed below: 1 - Create a database with simple CREATE DATABASE command 2 - Restore the database created above with RESTORE DATABASE command (with replace option) 3 - Configure other objects such as logins etc etc. Now, everything works fine as long as all the scripts execute correctly. However, I have seen instances when RESTORE DATABASE fails with "timeout expired" error. Well, I overcame this problem by simply increasing the timeout limit. But in that course what I observed is that when a restore da ...Show All
.NET Development WHERE Statement Fails. WHY!
Private Function Check() 'CheckX10Alerts(ByVal X10_RecvCMD As String, ByVal sndDeviceAddress As String, ByVal typEvent As String) 'Prepare to look for matching alert database Dim int As Int32 bolAlertsEnabled = True If bolAlertsEnabled = True Then Using connection As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=F:\Dot_Net_Projects\Visual_Basic\aiHome\Website\App_Data\aiHome.mdb;") Dim command As New OleDbCommand("SELECT strMedium, sndDeviceAddress, typEvent FROM x10_Triggers WHERE strMedium = AND sndDeviceAddress = AND typEvent = ", connection) command.Parameters.Add(strName, OleDbType.Char, 150).Value = "Movement - Front Porch" command.Paramet ...Show All
Windows Forms Outlook Express
Hi. I'm not very good with the technical works on the computer. My problem is that I accidentally uninstalled Outlook Express and I found it by going to Desktop>Start>Run> and typing msimn.exe. My problem is that I haven't found how to save it to my desktop. When I go into my program files I find Outlook Express but there is no icon showing msimn.exe. I have Outlook Express opened now. How can I save it to my desktop Hope I'm not making you as confused as I am. Any help would be appreciated. I'm not a computer whiz. Thanks! Sorry but these are development forums and not a Windows/outlook support group. Therefore I have to suggest for you to repost your question in the appropriate newsgroup ...Show All
.NET Development How to hook SqlDataAdapter to a SqlConnection
I have a bunch of files with tabular data in them. The files are of a proprietary totally non-standard format. I'm trying to move the data from the files into an SQL database. Each file will reside in a separate table in the database eventually with the table name set to the name of the original disk file and the field names and types all determined at run time. I created a class that loads files off the disk, creates a dataset with a DataTable for each loaded file in it, and stuffs the dataset tables with the info from the disk files. During this process the field names and datatypes are determined, keys are applied and foreign relations applied to the dataset also. This part works fine and I am able to view the dataset using ...Show All
Visual Basic LSet equivalent in .NET
I'm upgrading an application from VB 6 to VB.NET. Is there any equivalent for LSet in .NET for UDTs Else any work arounds Here's the code: LSet Status = StatusMsg Status is of Type Status_Msg StatusMsg is of Type Status_Msg_Type Structure STATUS_MSG_TYPE <VBFixedString(2), System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.ByValTStr, SizeConst:=2)> Public nSYSTEM_ID As String <VBFixedString(8), System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.ByValTStr, SizeConst:=8)> Public sDATE_SENT As String <VBFixedString(6), System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.ByValTStr, S ...Show All
