acantatore's Q&A profile
.NET Development .NET remoting general
Hi, I am new to .NET remoting. I need to have a feature where everytime there's an update, the server will push the update to the clients (win form application). Can I do this with .NET remoting Any helpful links or tutorial will be appreciated. Devi Hi Sundar, Thank you for the reply. If I am not wrong, I think the App Updater Block is very similar to ClickOnce feature that is available with Visual Studio 2005. Your solution might not work for my requirements. If there is an update we want all the clients to get the update right away, we need them to run the same software, same resources all the time. We are not sure if the app will be re-launch everyday, the user might keep the computer on for a whil ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Direct Answers For A Beginer
Dear, I Am A Beginer In Game Development, But Professional In C# And C++.Net 2005. I Want To Start Learning 3D Game Development Where I Have 2 Main Questions: 1- C++, C++.Net 2005, Or C# Is The Fastest And The Powerfull Language For Creating 3D Application 2- What Is The Graphic Library I Have To Learn And What Are The Difference Between XNA, DirectX, And XNA Game Studio I Hope To Help Me In My 1st Steps. Thx Alot 1. C++ will be the fastest, if you become an expert in getting every last processor cycle. c# is easier to program but does not give quite as much fine control. 2. DirectX is the underlying graphic API to talk to modern graphics cards - use C++ to code DirectX. XNA Framework is a managed layer over the ...Show All
Visual C++ Turkish character problem
i want to read the turkish character and recognize it. But i have a problem with character "i" of turkish language. It may write in smal and caps letter with a bit difference in size only. So i am not able to compare these characters. can anybody help me in this regard now further i have an extention of this problem and that is i am querying SQL server and Oracle but whenever turkish "i" comes in between any word the query gives an incorrect result. In this senerio what can i do ...Show All
Internet Explorer Development how can solve the 'Interop.SHDocVw.dll error
hi I create an application about (download Manager), in VS.NET 2005 using C#. I build a setup of an application (download manager) ,but when I installing the software using the setup,After setup when i run the software then it gives this type of error, Can anybudy help me to solve the error,& how can build the error free setup. See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.IO.FileNotFoundException: Could not load file or assembly 'Interop.SHDocVw, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified. File name: 'Interop.SHDocVw, Version=1.1.0.0, Cultur ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Game.GameServices article
I put up an article about Game.GameServices and the IGraphicsDeviceService. http://blogs.msdn.com/mitchw/archive/2006/09/06/742955.aspx A LoggingService. Great example :). That is one of the game services I was going to do as well. Of course, I'm also trying to think of a way to make it run on the 360 as well so I'll have to be aware of the size of the log. ...Show All
Visual C# SMS with c#?
does anybody Tried to make a SMS gateway with c# or even send here are a lot of companies who have a SMS Gateway you can use, some are free, Sending SMS using .NET through a Web service , but most of them you need to pay like Intelli Software Internet SMS Gateway . You can also connect a GSM Modem or a GSM Phone to the server and send messages with that device. ...Show All
Visual Studio Express Editions Creat Thumbnail, and View Image on Click
I would like to create a button or other object that would create a thumbnail of the image it represents. When someone clicks on it, I would like the larger image to display in a PictureBox on my form. I would appreciate any help anyone can give me, as I have not been able to get any of this to work... Thanks, i believe picturebox4_Click signature should be.... instead of PaintEventArgs, try EventArgs in regards for placing the other line of code I posted earlier, place that when the user clicks on the control when you wish to enlarge that picture and show it into the picturebox control :-) Either on a button click such as "enlarge image" or some other picturebox control where you are display ...Show All
.NET Development Internal .Net FrameWork Data Provider Error 12.
Hi, I am using .Net Framework 2.0. And for accessing data Oledb data provider. This is used in a multi-threaded windows service. I am getting the following error on a select query. The stack trace is as follows. Internal .Net Framework Data Provider error 12. at System.Data.ProviderBase.DbConnectionInternal.CreateReferenceCollection() at System.Data.ProviderBase.DbConnectionInternal.AddWeakReference(Object value, Int32 tag) at System.Data.OleDb.OleDbConnection.AddWeakReference(Object value, Int32 tag) at System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method) at System.Data.OleDb.OleDbCommand.ExecuteScalar() at File_Transfer.clsDataAccessObject.GetCellValue(String strSql) Sarah ...Show All
Visual Basic Need help with collision and...
Need help with collision and optimizing the space of an shape when filling it with a bunch of smaller shapes. I got a shape that loos like this and I need to fill that with as many smaller rectangled shapes that I possibly can. So what I first need to do is figure out how to make it check so that the objects are not colliding with eachother or that they are outside the main shape. Then I need to figure out how to maximize the placement so I don't get a lot of blank space. So it might have to flip the rectangled shapes 90 degrees etc. So... my question is.. how do I detect the collision I guess that could be solved like people do with game collision And my second question is for the auto optimizing.. anyone got a clue where to start thinki ...Show All
SQL Server Can't enable queue
Hi Folks, I was testing my error handling and purposefully failed some messages. Automatic posion message detection kicked in and disabled my queue. I tried the following, one at a time to enable it again but it doesn't work: ALTER QUEUE MigrationQueue WITH STATUS = ON; ALTER QUEUE MigrationQueue WITH STATUS = ON, ACTIVATION (STATUS = ON); I would have thought the first line would've worked but I get the following when trying to receive... The service queue "MigrationQueue" is currently disabled. Help. yep. i looked in sys.service_queues and is_receive_enabled was 0. i found out that i needed to end the conversations, so i used the conversation id and bled the queue. wi ...Show All
SQL Server Running sp_blocker_pss80 under SQL2005 and SQL 2000 shows many spids have non zero waittype under 2005
I was trying to test sp_blocker_pss80 (and SHERLOCK) on an SQL 2005 system and noticed that it gave much more output than on an SQL 2000 system . This was because the waittypes of many spids were not zero while under SQL 2000 the same ones were zero. Why is that For instance here is the subset of the query which is part of the sp_blocker_pss80 run on an sql2005 and sql2000 respectively select spid, status, blocked, open_tran, waittype, waittime, cmd, lastwaittype from master..sysprocesses SQL 2005 spid status blocked open_tran waittype waittime cmd lastwaittype ------ ------------------------------ ------- --------- -------- -------------------- ---------------- -------------------------------- 1 background ...Show All
SQL Server BCP task and Dynamic import and export of a file via package variables
I have a requirement to create many SSIS packages and no datatransform is required so the BCP task looks a good contender providing it can do both import & export is it possible to parse the values in bold as package variables into the BCP task. If so how BULK INSERT ipcs_wvg.dbo.extract FROM 'D:\IPCS\extract.csv' WITH (FORMATFILE = 'D:\ipcs\query\extract.xml' ); Thanks in advance Dave I have a global database called ETL Configuration for all my SSIS packages that uses a single table. So I can create three global variables USE [ETLConfiguration] CREATE TABLE [dbo].[SSIS Configurations]( [ConfigurationFilter] [nvarchar](255) COLLATE Latin1_General_CI_AS NOT NULL, [ConfiguredValue] [nvarchar](255) COLLATE Latin1_Gener ...Show All
Game Technologies: DirectX, XNA, XACT, etc. shader technique
Hi guys, I was trying to get the pixel shader to do some computation and I have come across this weird problem. I initially had 3 single pass shader techniques and they are working fine. But when I tried introducing another technique I am unable to debug my shader program with the Direct3D shader debugger.. though I am getting the result I need. I am getting an error message which says the technique does not have any file info attached to it when I start debugging with Direct3D. Could any of you tell me what the problem could be Thanks in advance. ...Show All
Visual Basic Command Line Switches
Okay, A really easy one here. I want to pass a single command line switch to my application, where if there is a specific switch it will show one form, if there is no switch or an unrecognised switch, it will show another form. Just need to know how I would go about finding out what switch was supplied - see, easy!! Thanks in advance Hi, Still having difficulty with this. I've got: Module Module1 Sub main( ByVal cmdargs() As String ) If cmdargs(0) = "/c" Then Else Dim frm As New Saver End If End Sub End Module Where saver is the name of my main form. But the form doesn't appear. So I tried (r ...Show All
Visual Studio Tools for Office Inspector Commandbars
I have a toolbar class -- actually, a wrapper class that includes an Office.CommandBar member. If you open an inspector, say to a random item in your inbox, and then you start scrolling through the next item/previous item buttons, each selection fires the Inspectors_NewInspector() event. However, the Inspector.Close() event for the previously viewed item's inspector does not fire -- at least not until you exit Outlook. So, is each new inspector "new" or not If I treat the inspectors as truly new, and create a new toolbar, then the toolbars start to accumulate on the inspector. In other words, it may be a new inspector, but it seems to have the old toolbar in its collection. So I wrote code to loop through the new inspec ...Show All
