chrstdvd's Q&A profile
Visual Studio pass an windows form text box value as parameter
Hi, How to pass an windows form text box value as parameter to local report ( .rdlc) or server side report (.rdl) Where can I read more ... Thanks modtran You can do this by calling ReportViewer.LocalReport.SetParameters() or ReportViewer.ServerReport.SetParameters(), depending on the mode you are using. There are a number of samples at www.gotreportviewer.com. ...Show All
Visual Basic Networking
Hi, This is my first time writing in this forum and I hope I'll get the answer for my questions . I'm developing a complicated system using VB.Net and I'm facing a big problem, how can I connect two or more applications which I've developed using VB.Net Please if you have an answer for my question or a link to a page that has it write it . Thanks . Magic PC General Manager Abd Allah Diab First of all thank you for reading my question and I'm sorry for being not obvious, my problem is : I'm trying to connect two applications which I designed via the network and transfer data between them ( chat , webcam , files ) so I don't know how to do it and I really need help . thank ...Show All
Visual Studio Team System More datadude and WIX
In a post here: https://forums.microsoft.com/MSDN/ShowPost.aspx PostID=862288&SiteID=1 I talked about how I am using the .sql output file from datadude within a WIX installer. I have a small problem in doing this. In WIX the action to install a database does the following 2 things: Creates the database Runs a .sql file to create objects in that database. This is where I am plugging in datadude's .sql file Problem is, my .sql file tries to create the database as well (optionally dropping it if it already exists). So I have the following going on: WIX creates the database The .sql file drops the newly created database The .sql file recreates the database Not ideal I'm sure you'll agree. We ...Show All
Visual Studio 2008 (Pre-release) Great WPF Whitepaper - ImageMontage doesn't work though
So in my search for content to help learn WPF, I came across this technical whitepaper and video from Mix06 http://msdn2.microsoft.com/en-us/library/aa480174.aspx However, the ImageMontage example doesn't seem to work with my Dev system (Sept CTP) - and I don't know the internals of WPF well enough to get it to work. Anyone care to figure out how to get this to work with the latest WPF SDK and Framework I don't get any errors or exceptions when I run it, but all I get is a blank (white) App window. Doh! There's a bug in the code. I'll reupload the sample ASAP; in the meantime, here's the fix: Change line 29 of ImageMontageCanvas.cs to: newImage.Source = new BitmapImage ( new U ...Show All
Smart Device Development Waitcursor not showing in WinCE.NET device
Hello All, I am trying to show waitcursor in a form using Cursor.Current = Cursors.WaitCursor; //Do something Cursor.Current = Cursors.Default; But waitcursor is not showing, if I click on the device screen it shows up. I tried with Cursor.Show(); Application.DoEvents(); also, but the waitcursor is not showing. I am using VS2003, device is WinCE.NET 4.2 device. Please help. Thanks in Advance. Arun. I suggest you try the following suggestions from the news groups and see which one works for you. This is not a known issue with the compact framework. http://groups.google.com/group/microsoft.public.dotnet.framework.compactframework/search group=microsoft.public.dotn ...Show All
Smart Device Development Databinding to Datagrid
I have a group of items in a datatable (approx. 11,000). I'm trying to bind this datatable to a datagrid in my mobile app (using sql mobile 2005, vs.net 2005) but i keep getting the "storage memory is critically low error". I'm deploying to an emulator. What's the trick to loading large datasets in mobile applications. Do I need to adjust the projects settings somehow. I just don't get it. The trick it not to load large DataSets into memory as it would run out. Remember your application is limited to 32MB virtual memory (vs. 2 GB on desktop) and it’s not all free from the start. Consider using SqlCeResultSet instead - it would only load visible rows, all 10 or so of them. In this case, however, you’re running ...Show All
Visual Studio Team System Deployment succeeeds but no changes reflected
Hi, I am facing a strange problem. I am not able to deploy projects to database. I have picked up 1 object(a table) from my Northwind database(in SQL Enterprise Edition) into my db project, added a column to that, built it. Thereafter I have properly set all the property settings for deploying the project onto the same database, entered the connection string and all, right clicked the project and deployed. Deployment succeeds. I go and check in Server management studio for the new column. Nothing has got added. I opened the update scripts generated and executed them in the server. It gave some errors. Resolved them. Again executed the scripts. Executed successfully. But still my new column did not get created!!! I am very ...Show All
Visual Studio Substituting menu items in the default VS2005 Query Designer with a Package Add-On
Is it possible to disable menu items in Visual Studio 2005 Query Designer, and substitute our own menu item (keeping support for other existing menu items) I have created a packaged add-on, and I am interested in using the default supplied Query Designer, but disabling one option (Verify SQL Syntax) due to our database support contains optionally supported SQL. I would prefer to substitute our own SQL verification application. I have created a custom handler, which is activated from the DataViewSupport xml file, which defines the Server Explorer views supported by our database (Teradata). The DataViewSupport supplies a CommandBinding which links the Query Designer to either a custom handler or a default handler. The entry -> &l ...Show All
Visual Studio crystal report problem
I have developed a windows Application using VS2003 (C#.NET). All of its reports were built under crystal report version 8.5. my clients give me a licenced copy of crystal report 11. After configuring client pc using .net framework 1.1 and crystal report 11(licenced copy ) i am unable to run the reports. while i run the forms containing crystal reports i found the following message: File or assembly name CrystalDecisions.Shared, or one of its dependencies, was not found. its detail part contains: ************** Exception Text ************** System.IO.FileNotFoundException: File or assembly name CrystalDecisions.Shared, or one of its dependencies, was not found. File name: "CrystalDecisions.Shared" at VATSysDes ...Show All
Visual Studio Team System TF80070 Error in Microsoft Project
We are using Team Foundation Server Workgroup edition. I open up Microsoft Project and 'Choose Team Project'. Then I can 'Get Work Items' into the project, but it throws the error below before all of the work items are rendered (but they all show up after I hit OK). Also I can't 'Publish' or 'Refresh' the Work Items from Project. When I try, I get the following error: "TF80070: Team Foundation encoutered an error while performing the operation. It is recommended that you save your work and restart the application." Any help/ideas would be greatly appreciated. Hi Did you get then same error when you open a query in MS Project from IDE That is, from team explorer under work items, ...Show All
Smart Device Development mtom
Is MTOM a viable option for client server communciations between Server and a Win Mobile 5.0 device. I was unsure whether WM50 had WSE 3.0 support. Apologies if my question is imprecise. I've no idea what MTOM is, but there's no WSE 3.0 support on devices. Also, here's some important reading for you, item 17: http://www.danielmoth.com/Blog/2005/03/please-read-before-posting-to-ng.html ...Show All
Smart Device Development SSL certificates for smartphone
Greetings, We are using windows mobile 2003 smart phones. I do not want to install the root certificates on the phones, but would like to install a certificate on our mail server instead. Which certificate would I need to install Regards If you want to secure the communication between device & your exchange server - you have to install the certificates on the device. Certificates work by walking the chain upto the root. You should issue individual certificates to the devices (for authentication purposes) and link them to a root certificate (also installed on the device) that your organization issues. Manav ...Show All
Visual J# while causes Program to Stop
static String ExtractFilePath(String Path) { String VirtualString = String.Copy(Path); int i = 0; while (VirtualString.IndexOf("\\") > 0) { i = i + VirtualString.IndexOf("\\"); VirtualString.Remove(1, VirtualString.IndexOf("\\")); } return Path.substring(1, i); } This code cause my program to "suspend". I don't get any Error returned. I hope someone sees the problem Thank you, DarkPressure What you want to do is System.IO.Path.GetFileName(String path). Addtionally, it contains the other logical error. Execute the following code to know String.Remove(int) and refer String.LastIndexOf() method. public static void main(Stri ...Show All
Windows Forms Trying to show and manage a List<string> in a PropertyGrid
Hi, I have an application that shows the property of my items in a PropertyGrid. I'm trying to allow the user to add or remove property to his items throw the PropertyGrid, but i can't do it properly. I have followed the articles written in MDSN. So I found a way to do it. Creating a new class that inherits from ExpandableObjectConverter, showing the attributes in a string. But the problem is that it create me a kind of pop up where I can modify the string of attributes, but I don't know how to modify the methods so that the application behaves like I want. Can anyone help me . I have written this code: public class GridSettings { private string nombre, visibilidad; private string tipoObjeto; priva ...Show All
Windows Forms Working with C# and VB.net in same Project
Hi 2 all, Can I have a ".vb" form and ".cs" form in same project If possible, How can I do this I want 2 work with c# and VB languages in same Project. Please send me a solution. Thanx In advance... I don't think so. You split that in separate projects which can be used in one solution. E.g. make one a class library project used in the other project. -- SvenC ...Show All
