Romek's Q&A profile
Visual C# Application needs to run every...
Hi, I need to develop an application that will start with the system, and every XX hours especified by the user, and at the time especified, this program has a routine that needs to be run. How can I do this, with a "while" and keep checking, with a timer and every second I verify....Or what is the best way FileSystemWatcher is the exact name. You can see a nice sample on Microsoft's web site - http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpref/html/frlrfsystemiofilesystemwatcherclasstopic.asp Both VB.NET and C# examples. -Rob ...Show All
SQL Server Copy execution results
Hi, A small suggestion. Could you make it possible to copy and paste the contents of the Execution Results tab Would be useful for comparing executions. -Jamie OK. Track ID 976108583 ...Show All
SQL Server Web Synchronisation Throuth SSL
hi, i have done Web Synchronisation Using RMO , where i have an remote server at a remote place, where the Virtual Directory is Configured With SSL, for testing purpose if i access from the Client Computer entering http://72.17.246.214/SyncAbita/replisapi.dll diag " in the address of IE giving an errormessage "Unable to Reach Remote Host", if i remove SSL on the Server , i am able to access "SQL Websync diagnostic information" Page from the Client Machine, is it not possible to get perform Web Synchronisation With SSL, then i have inStalled 7 days Trial Version SSL on the Sever. Can any body help me out on thi ...Show All
.NET Development How can we know that there is Concurrency Problem arised? (i.e Other than DBCOncurrancy Exception)
How can we know that there is Concurrency Problem arised (i.e Other than DBCOncurrancy Exception) Concurrency is a common cause of error in multi-threaded applications. The DBConcurrencyException will be thrown by a DataAdapter if the number of rows affected by an insert, update or delete operation is zero because this is "generally caused by a concurrency violation" according to the documentation. You may have other concurency bugs that have nothing to do with a database causing other crashes or strange exceptions. These are the hardest to track down because they are often more difficult to reproduce. Using a single shared ...Show All
Visual Studio Express Editions C# compile a final release
I am new to this c# thing and I have been using the C# compiler to run my programs. And just realized that I don't really know how to make a final project. Does the computer that I put it on have to have .net 2.0 And if so how do i include that in the installation And what do I do about the dlls do i just leave them in the directory or do I have to register them with windows. Thanks in advance. hi, //Does the computer that I put it on have to have .net 2.0 yes the computer must have it to be able to run your project //how do i include that in the installation include what in the install ...Show All
Software Development for Windows Vista LoadLibrary (regsvr32) fails without Visual Studio 2005
I've just upgraded from Visual Studio 6 to Visual Studio 2005. I've got the latest DirectShow stuff (in the platform SDK) and am using it. Everything builds and runs fine on my development machine (which has Visual Studio 2005 installed) but when I try: "regsvr32 "myfilter.ax" on a different machine (without Visual Studio 2005, both machines are WinXP Pro and up to date AFAIK), I get the error: LoadLibrary ("myfilter.ax") failed - This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. This happens even when I use, say, the "dump" example fil ...Show All
Visual C++ Manifests in VS2005-- What are they?
In my experience, manifest files have enabled the Windows XP control themes in applications. That is all I know about them. Can anyone explain what manifests are, and how they are used I also noticed that Visual Studio 2005 Professional supports embedding manifest files. Does this mean the IDE is capable of automatically making applications support Windows XP control themes Thanks ahead of time. I tried with adding manifestodependency through linker command line as below /manifestdependency:type='Win32' name='Microsoft.Windows.Common-Controls' version=' 6.0.0.0' processorArchitecture='X86' publicKeyTok ...Show All
Visual Studio Express Editions Migrating Forms And Code To Express 2005
Hello All, I have alot of code that was written in VB6. It there a way to migrate this code into VB Express All I really want to do is bring some of my base forms over into Express and redesign them there, not reuse the the code as it is. It would be somewhat easier if I can convert these forms to Express then do the redesign of these forms from within Express instead of jumping between VB6 and Express. I also have Visual Studio.Net 2003 at my disposial. Can this be used as an interum step to convert these forms to Express Any help you can offer would be appreciated. Thanks In Advance V. Shane Curtis Hi Shane, It's ni ...Show All
Visual Studio 2008 (Pre-release) WCF with "raw TCP" clients?
Hi All, I have been working on a custom Encoder to work in conjunction with the TcpTransportBindingElement (i.e. tcp transport) to communicate with "raw tcp" clients (i.e. the byte stream to/from the client is neither soap nor xml). The current obstacle is that the ReadMessage method in my encoder is not "firing". I presume it is because the transport is not receiving something it recognizes as a message terminator. I would appreciate if someone would point me to material on the internal workings of the WCF Tcp transport. Also, it is important for me to know if I cannot use the tcp transport that ships with WC ...Show All
Visual Basic Blow up in automatically generated code
1. I'm ecstactic about the latest CTP release (August ). It's getting closer to ready for the curtain to rise. That said, 2. I have a curious problem. I'm developing a hybrid application. I've chosen to call it a windows application under application type. I have framework turned off. This allows me to have my own Main() and to set global error handling before the first window is created. Global error handling is sweet! I'm also using settings. The system generates Settings.Designer.VB automatically whenever I add a setting. It includes code: Public Shared ReadOnly Property [Default]() As MySettings Get # If _MyType = "Windows ...Show All
Visual Studio 2008 (Pre-release) DataContext Serialization and Distribute Architecture
Hello, Do you intend to implement a DataContext Serialization... On a distribute Architecture how can we exchange a DataContext Having an explicit management of the ChangeSet will be great: - GetChangeSet() - ApplyChangeSet(...) Do you any commitment with WCF team to get a mapping between DLinq Entity and WCF DataContract. A big picture of DLinq and WCF will be very usefull. Regards DataContext itself is not serializable as it holds non-remotable resources like a DB connection. We are working on a better experience for serializing the objects retrieved using a DataContext. We are ...Show All
Windows Forms DataGridView FAQ! image and Text in same Cell ?
I've finished writing the first DataGridView FAQ. This isn't just a list of questions, but a comprehensive overview of the DataGridView. Please reply to this thread with addition Q/A questions, corrections, or suggestions for improvement. http://www.windowsclient.net/Samples/Go%20To%20Market/DataGridView/DataGridView%20FAQ.doc There are also a set of DataGridView samples that help with common areas available at http://www.windowsclient.net/Samples/Go%20To%20Market/DataGridView/DataGridView%20Samples.zip thanks -mark DataGridView Program Manager Microsoft This post is provided "as-is" ...Show All
Windows Forms How to refresh or rest a dataset
Hi, In my application I use a dataset and populate a datagrid. there is a drop down list where I choose clients and it'll fill the dataset with a sqldataadapter.Fill() customers related to that client. But when i change the client it adds the next set of customer but won't clear the previous. How can I avoid this. Many thanks, -VJ Clear the Dataset or DataTable before each Fill. ds.clear() or ds.tables(0).clear(). ...Show All
Visual Basic ? difference between: Me, MyBase and Parent
I don t know what the difference is between these three items: me, Mybase, parent When do we use each of them. Also is the quivalent of this in C#: Me or MyBase Gracias Amigos:) Me is a reference to the current object. Often optional to use, but helps clarify your code when accessing methods and properties with objects with similar names. MyBase is a reference to the base object: the current object may have inherited from a base object. Used when you explicitly want to access a property or method of the base class. Parent is the 'owner' or container of a control or form (Graphical controls) and is not relevant to a ...Show All
SQL Server Can I change a SQL Server Everywhere database's password?
Hi, I'm using the SQL Server Everywhere CTP on the desktop and haven't used SQL Server Mobile in the past. I'm having some difficulty determining whether it's possible to change a SQL Server Everywhere database's password. Obviously authentication on a file-based SQL Server Everywhere database differs from that of server-based SQL Server database. Is it possible to change a SQL Server Everywhere database's password That said, I feel like I've made a decent search of the to change a SQL Server Everywhere books online. If it's not possible to change the password in place (i.e., without copying all data to a new file with a different pass ...Show All
