DarshanSingh's Q&A profile
Visual Studio 2008 (Pre-release) Problem with concurrency
I have differents clients (UI) that use my services of wcf. This clients access to the same data (for example a collection of Person objects), if one of my clients change the data of the one object of the collection, how the other client to hear about the changes I read about RunOnUIThread Hi, I think you should implement a publish - subscriber mechanism in your application. I suggest that ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Erorr in loading DirectX Reference
Dear All, I have two versions of VS.NET (2003 & 2005) installed and DirectX SDK Dec/2005 version installed as well. I am trying to develop just a few lines of code to create the device but it caused the errors as below: An unhandled exception of type 'System.IO.FileNotFoundException' occurred in TestDX.exe Additional information: File or assembly name Microsoft.DirectX.Direct3D, or one of its dependencies, was not found. Tes ...Show All
Visual Studio Wrong Re-Install Procedure. Problems running VS2005.
Hello, I have a serious problem in my system and I need Help or else I'll need to reinstall windows again. This is the situation: I installed the VS2005 beta 5 and everything worked out ok. I have an ideia for a project and i needed to install a third-party component to test. to install the component i had to install the last built of the SDK Framework. Big Mistake. Manage to install the component, but i messed up VS2005 since it started to c ...Show All
Visual Studio report viewer newbie
hi, i'm a newbie in using report viewer and having a tough time now building a web app in c# and asp.net.. hope someone can help me on this. i'm using VS2005 and RS2005. i've tried looking at the sample RssNewsReader but i have problem running it. error message : Could not find type 'RssNewsReader.ChannelInfo'. i think this is because i don't have system.ComponentModel in the reference and i don't have this dll file in my ...Show All
SQL Server SQL Server Express Security?
We are releasing an application built on SQL Server Express in the next few months. Our clients are mostly small companies with little technical knowledge, and they will be using our application on desktop computers where everyone likely logs in as the same user. As such, my thinking is that we setup SQL Server Express as in SQL Server Authentication mode. This way they could select an Administrator password upon first installa ...Show All
SQL Server AcquireConnection method call fails when scheduling a job with Excel Connection Manager?
I have a SSIS package that reads the data from an Excel file using an Excel Connection Manager and imports the data to a table on a SQL Server 2005 DB instance. When I run this package locally on the server the package being on the file system, the package executes perfectly. Now I upload the package to the msdb database and the run the package from there and the package still executes successfully. Now I schedule the package to run as a ...Show All
Visual Studio Tools for Office Detaching outlook attachments
I just installed VSTO 2005 I want to create an outlook addin that will detach all incoming attachments into a specified folder. I do not know how to run sample code that are posted here.. http://msdn2.microsoft.com/en-us/library/ms268731(VS.80).aspx When I create a new add in it is creating a two methods Private Sub ThisApplication_Startup( ByVal sender As Object , ByVal e As System.EventArgs) Handles Me .Startup ...Show All
Visual J# Escrever e Let Cookies em J#
Alguem tem algum exemplo de como faco para escrever e ler cookies em J# Agradeco, Marcus Alexandre I don't know Portugese, so I'm translating it back into Spanish. Me disculpo por adelantado por errores. No se el portugues, pero voy a traducirla al espanol. Hola, El codigo siguiente debe que ser suficiente. Ud. necesita referir <<System.Web.dll>> en el proyecto suyo y importar el paquete <System.Web> en el codigo. Graci ...Show All
Visual Studio Express Editions Dmi forms title in toolbar!
Hey, im trying to make a Mdi form with a toolbar, and if a new subform is opened, there must be a button added to A tool container, so you easly can switch from maximized screens. Im trying an hour now and still dont get this to work. I hope someone would like to help me :) Thanks Chris This is what I did as a sample to implement this. It is missing the removal of the form when it closes. I added a new form to my project, added a Too ...Show All
Visual Basic connecting to access database
I need some HELP! I am trying to connect to an access database. The only thing in the mdb file is the table. I am using vb 2005 express and I have tried everything and cannot get anything except an error " format of the initialization string does not conform to specification starting at index 0 ". What the 'ell does that mean I need help connecting to the mdb file in vb 2005. Any help would be greatly appreciated. ...Show All
Visual Studio Team System Source control compare - on a higher level
Hi all I find the (new) Team Foundation Server and it's features great. Nevertheless there is feature of VSS that I could not manage to find in TFS. In VSS you can compare on a higher level than file, say folders or projects. That is, compare the $MyProject/Server with the corresponding files local (in your associated workspace). Is this possible in TFS I can only find comparison options on file level. I just had a, well.... ...Show All
Visual C++ talking to a MySQL database?
what is the best way to talk to a mysql database using C over the internet sockets an api within windows any helpful starting points would be great. 3rd party libraries are out of the question, i would prefer to code it myself or use an api call. regards. You can connect to a SQL Server database either programmatically (there are many code samples around plus code snippets shipped with the visual studio) or via the Server Explorer. It is ...Show All
Visual Studio 2008 (Pre-release) Expression<Func<A,R>> to Func<A,R> conversion
Since the compiler is able to generate both Expression<Func< int , string >> e = i => i.ToString() and Func< int , string > f = i => i.ToString() I think it would be very helpful to have a way to get the Func<,> delegate for a given Expression<Func<,>> Easiest way would be by an implicit conversion f = e; I understand it is the job of the compiler to generate ei ...Show All
Game Technologies: DirectX, XNA, XACT, etc. problem loading mesh from .X file.
Hey guys... I'm having some trouble loading a mesh from a .X file in C#. I'm using the same code that I see pretty much everywhere as sample: private Material[] meshMaterials; private Texture[] meshTextures; private Mesh mesh = null; private void LoadMesh(string file) { //LOAD X FILE ExtendedMaterial[] mtrl; // Load our mesh mesh = Mesh.FromFile(file, MeshFlags.Managed, ...Show All
.NET Development How to pass a server-side object to a javascript function?
Hello, How do we pass a sever-side object (e.g a listbox) to a client-side javascript function I have an idea that it could be this: //string variable string objectID; //get the object's control identifier objectID = listbox.ClientID; //pass the object's control identifier ctl1.attribute["onClick"] = "returnContextMenu({0},objectID);"; Is it correct No that is 100% incorre ...Show All
