gagandce's Q&A profile
SQL Server an error while trying to read .sdf file from the pc application ? please help
hi i have a problem with reading sql mobile database existed on the pc i made a sql mobile database connection with ( Add New Datasource ) and then set the datasource of dataviewgrid to display the returned dataset . at run time i have an exception said : cann't find the library with the name sqlceme.dll as i remember , can you help me solving this problem because i very need this step , please regards SQL Mobile did not support Windows Applications before. It was integrated only with Device Applications. However, we will be releasing SQL Server Everywhere on desktop which ...Show All
Windows Forms Problems inheriting a form with DataGridView on it.
Hi! I have a few problems with inheriting a form that has DataGridView on it. How to reproduce an error: - Create empty project - Add dataset and add one table to it - Create a new form called Form1 - Add DataGridView and BindingSource to it (set public access to both) - Link DataGridView's DataSource to your BindingSource - Create a new form called Form2 that inherits from Form1 - Add DataSet and DataAdapter from step 2 - Bind DataSource's DataSource to your dataset and set it's DataMember to your table - Overload form's OnLoad to fill the DataSet using your DataAdapter - Modify application entry point(Program.cs) so Form2 gets displayed ...Show All
Visual Studio Tools for Office Auto signature insertion in Outlook
Hello All, I am creating a web portal for a company. One of the requirements is to create and install a dynamically created signature to the mail client. This signature must be send across via an email to the users. The users then install this signature into their mail client. The users are using a variety of mail clients i.e. Outlook 2000/2002/2003/ xp and outlook express. Can anyone please suggest the best approach to tackle this What is a good starting point on this Many Thanks, Hemal Modi Hemal, VSTO Outlook Add-ins is definitely an approach you could consider for Office 2003 and above. T ...Show All
Windows Forms Access a Control from any Class
Hi. How can I access a TextBox on Form1 from an Class, which is in the same Project. Cann anyone post an short example Thank you just to throw a comment on top of all of this: UserControls are great for wrapping functionality, like sections of forms that will be used more than once on different forms, etc. Just like everythi ...Show All
Visual Basic Cild Process calling problems
Ok I am trying to devlope a System Tray Control Panel for a Ventrilo Server. Now i am utilizing a program bad by the company to check the servers status and retrive information about the server. Now that program is a dos based program like ipconfig or the net command. Now I can get the program I am make to call the process and using OutputDataReceived member of the process class I can retrive it's output but I can not get it to retrive the information a second time. Here is my code I am using. #Region "process calling" Public Sub call_status() filetostart = "C:\status.exe" If (My.Computer.FileSystem.FileExists( ...Show All
Windows Forms Version independent settings?
If I add a .settings file to my Visual Studio Windows Forms project, it works great. However, in my AssemblyInfo.cs file, if the AssemblyVersion is set to "1.0.0.*" (Visual Studio will automatically increment the last number), then every time I build & run my app, I lose any settings I've saved because the version has been incremented. It appears the settings file is not version independent. Is there a way around this problem AssemblyVersion really shouldn't be set to autoincrement each build. Rather it should be set at the start of product cycle and not changed until the next version. Unfortunately, this was the default in Visu ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Some questions about Vista & Direct3D 10
Hello! Greetings from Ukraine! I am still programming under WinXP and DX9. But I'm going to port my code into Vista platform and cannot find some information I am interested in. According to numerous articles and documentations porting is to be painful:) So, I have some questions listed below: 1. When will (approximately) the nVidia or ATI accelerators support Shader Model 4 2. How shall I use SIMD advantages on the CPU for scene management and so on when Geometry Shader processing For example, I want to draw 10 000 particles. Before, I groupped all that particles under several batches and when the GPU we ...Show All
.NET Development Web service in VS 2005
I am trying to debug a webservice by steping into a web method called from a web project. The strange thing is that sometimes it works but often it does not. When it does not work I get the following error when trying to step into a web method: Unable to automatically step into the server. The remote procedure could not be debugged. This usually indicaes that debugging has not been enabled on the server. See help for information. Here is how my project looks like: 1. project: Web project which has a button that activates a web method. 2. project: Web service which is consumed in project 1. Web.config is set to: <compilation ...Show All
Visual Studio Express Editions How to display Message Box using C#
Hi, Im using c# as my code behind in my aspx page. How to display message box using c# in my aspx page. Nakkeeran You should try posting your question on http://forums.asp.net as they are concentrating on web development questions and topics. ...Show All
.NET Development TCPClient
I want to ask a question about using TCPClient. I can connect my localhost with this code Istemci = new TcpClient("localhost",1234); but I want to connect a computer which in my localnetwork(ex. that's ip 10.6.1.9). How can i do that with TcpClinet( ) code. Thanks. ...Show All
Windows Forms TableAdapter insert/update/delete generated on a table, but WONT on a view
I am using VS2005 and adding tables and views to my project using "Add data source". It auto generates the .xsd file for me with all the items in there. I started off just putting views in there from my database, then when i rightclick -> configure -> advanced options, and check "Generate Insert, update and delete statements", click ok and next, the "Create methods to send updates directly to the database" is greyed out. I thought that maybe it was something funky with my view, so i tried doing it to a table, it works fine. So i tried doing it on a view which is simply "Select * From myTable&quo ...Show All
Visual Studio Team System No/Minimal VSTS installation for Testers
Hi, We want to keep our testers machines as clean (and as less loaded) as possible. But we would like our team to use VSTS both for entire development activity including bug-tracking/issue-tracking/review-activity/etc; but with least/none installable of Visual Studio 2005 on testers machine. How is it possible Eg: Is there any interface by the excel or other office software to VSTS with minimal/no Visual Studio 2005 client on the machine Responses will be highly appreciated. Thanks, Saurabh At this time, Team Explorer is the minimal install for Team Foundation Server read-write ...Show All
Visual Studio Team System unexpected error
Hi, I have generated as simple web test through recording option. 1. I will open the web site 2. Click on Search button. List of records appear for that search. When I am running the script both steps are passed and showing as HTTP Status as 200k. But in web browser it is showing error message. It is showing application error in web site. I tried manually couple of times but I did not this error manually. I want to call this web test in my load test. Can I ignore the web browser error message and can go for load testing or should I consider that my web test fail because of this error message in web browser ...Show All
SQL Server rsInvalidItemPath error SQL Server 2005 Reports
Hi All , I created a Report project . Build was succeded , and deployment was also succeded . but inthe internet explorer it is giving following error URL is http://localhost:9003/ReportServer %2fReport+Project1%2f&rs%3aClearSession=true&rc%3aView=2d1cc269-0d58-4f20-80c0-48f570287110 and error is Reporting Services Error Hi all, I manulally deleted all the special charecters from the url make it like http://localhost:9003/ReportServer Report+Project1&ClearSession=true&view=2d1cc269-0d58-4f20-80c0-48f570287110 I was able to view my reports in the browser Thanks and regards Shagun Khare http://itstechworld.blogspot.com ...Show All
Visual C++ GetDC function
"anonymous@discussions.microsoft.com" <lewix@discussions.microsoft.com> wrote in message news:5c171357-414c-4815-a105-05f8076d448d_WBRev3_@discussions.microsoft.com > This post has been edited either by the author or a moderator in the > Microsoft Forums: http://forums.microsoft.com Hi, > i hope i'm not posting a newbie question. > I have to get current DC handler of my window dialog, so (as > suggested on most forums on the net) i use GetDC() function. > It is explained (in MSDN site too) GetDC has one argument: HWND hWnd. > But if i type > HDC hDC = GetDC(m_hWnd) > on my ...Show All
