mobigital's Q&A profile
Visual Studio Resizing margins programmatically?
Hello, I am using winforms reportviewer control for viewing .rdlc files (VS2005/SQL2005). I would like to know if there was a way to control report header height or top margin size, programmatically (or by using parameters). Any suggestion would be appreciated Thank you! Resizing margins at runtime is not directly supported. One way of doing this through the ReportViewer control is to dynamically change the RDLC at startup time of your application (before the .rdlc file is loaded into the ReportViewer control). You can find samples using this approach on www.gotreportviewer.com (e.g. "Generate RDLC dynamically - Table" sample). -- Robert ...Show All
Visual Basic Active X dlls Register
Hi, Can Active X dll created by VB be registered during run time of an application (it is created in VB) How can it will be acheived regds, Chandra regsvr32.... during the install you need to create a routine that will run regsvr32 against your dll Dim p As New Process Dim si As New ProcessStartInfo p . StartInfo = si si . FileName = "regsvr32.exe" Dim args As String = "/s TheDllPath" si . Arguments = args p . Start () ...Show All
SQL Server Connect to SQL Server via Internet
Hi there We have the following problem. Our DB (MSDE 2000) is situated on remote server on which we have administrator privilege. The application which works on Local net connect to every machine in the net and see the database on one of the mashine as well. The connection string is data source=192.168.0.1\XXXX;initial catalog=XXXX;integrated security=SSPI;persist security info=True;workstation id=XXXX;packet size=4096" but when we change IP in the connection string to our remote server(in internet with static IP) one we get an exception says that SQL server does not exist or access denied. We opened ports on firewall but problem is still here. Then swithched off the firewall at all but same exception comes. Th ...Show All
Visual C# consume a web service
Hi I added a web reference to my visual studio project. I am trying to initialize a web service in my C# code. I wanted to know if the following code is correct... Webservices.uat.xxx.com.Service1 GetPromoMapping = new Webservices.uat.xxx.com.Service1(); What would Service1 mean I got this code from the msdn site.... I am trying to retrieve a data set from this URL: http://webservices.uat.xxx.com/crwss/1.0/mfcr_dx.asmx op=Get_Promo_Mapping any suggestions on syntax. Thanks. Service1 is the name of the web service object which one initiates to begin the process of data transport between the client and server. This is not a static name, but one that ...Show All
Visual C++ Runtime Error Abnormal Program Termination
I get a small footprint box that pops up when I start my webcam in Yahoo Messenger. The box is titled "Microsoft Visual C++ Library". In the box it states: Runtime Error, Program:CProgramFiles\MicrsoftLifeCam\Lifetray.exe, Abnormal program termination. I have just installed a Microsoft LifeCam VX-6000 and nothing seems to work right every since. I have uninstalled it sseveral times and reinstalled it the same amount of times. I finally got the Cam to work, but I keep getting this error. Could someone help me Thanks! This unfortunately is the wrong forum for such questions - it's a programming/development forum. I suggest you contact the original software vendor using Microsoft product support services (PSS). ...Show All
.NET Development USB Drive Name
I want to be able to loop over all drives and find the USB Flash drives attached to the system. When I find a USB drive I want to get various pieces of information i.e. free space, mapped drive. I want to be able to get the label/volume name that you see in Windows Explorer/My Computer. This is the label that can be edited by the user (under the drive properties)and is information that the user would like to see to help identify a USB Flash Drive. I have tried to use: string drive = "c:" ; string VolumeLabel = null ; string ObjectPath = String .Format ( "win32_LogicalDisk.DeviceId='{0}'" , drive); using ( ManagementObject mo = new ManagementObject (ObjectPath)) { mo.Get ( ...Show All
.NET Development Handles
Hi! I'm using a SysInternals app to check memory values of my program, and and view: Process information for VALERIANO: Name Pid Pri Thd Hnd Priv CPU Time Elapsed Time MyApp 4928 8 48 909 66920 0:08:22.984 13:27:48.140 Hnd is handles, but w hat's a handle I'm looking for its meaning but don't find nothing clear. I don't know if this amount of handles is dangerous or not. Regards. A "handle" is a reference to a Windows object. Any object qualifies; memory, files, pens, brushes, sockets, etc. Having 909 handles in use is okay. ...Show All
Windows Forms Other version is already installed
I get this error message running setup created by VS 2005 Setup and Deployment project. Setup asks to remove old version of the program and install new one after this. What can I change in the setup project to prevent this - I want to update existing application without removing it. I tried to set RemovePreviousVersions to true, change UpgradeCode - this doesn't help. This should help: http://www.simple-talk.com/dotnet/visual-studio/updates-to-setup-projects/ ...Show All
Visual C++ Char* issue on Migrating from VC6 to VC8 (2005)
Hi, I have a function in VS-6 which displays Helzo. (Project settings I changed in VS-6 are: In C++ tab the Warning level is set to "Level4" and Debug info as " Program Database") void CVCTempDlg::OnOK() { char* pChar; pChar = "Hello"; *(pChar+3) = 'z'; AfxMessageBox(pChar); } When I try to use the same function in Visual Studio.Net 2005 it compiles fine but throws an exception during run time. void CtempDlg::OnBnClickedOk() { char* pChar; pChar = "Hello"; *(pChar+3) = 'z'; AfxMessageBox(pChar); } I tried the following : IsBadWritePtr, memncpy, functions to set the 3rd char to Z, but no use. Thanks in advance. Kama Thanks for the reply. The objective of th ...Show All
SQL Server SSIS
I AM WANTING TO FIND THIS AND DOWNLOAD IT. and just to be clear, SSIS stands for SQL Server Integration Services, thus you will see " Integration Services " on that link with X transforms. ...Show All
Visual Studio Team System how do i add more bug status's?
ok 2 quick questions to all the pros out there.. first of all is there a way I can make certain roles have access to changing the status of bugs. ie a developer can't change the status of an active bug to closed before someone else see's it first. Second question.. is there a way I can add more different status's of bugs then just the active closed resolved thanks for your time and help :) is there an easy way to change the template.. im am going through some of the type definations and its all repeative and gets confusing after a while, is there an 'easy mode' that could solve my new problem also i get huge error problems when i change some of the things in the work flow thanks alot ...Show All
Visual Studio After installing MS Visual Studio.Net 2003, I had an ink. extension on the Solutions folder
I installed the software in my other computer and everyhting went fine but I bought a used Dell with the Windows XP just like the other one and after I finished the Installationl and started to work on my tutorial, my system could not find the folder and when I finally did and tried to open it, a message telling me that the system did not support files with the .ink extension. How did that horrible thing happened and how can I change it or get rid of it so I can use my tutorial Thank you I am not sure I completely understand what you are trying to say but: Your new computer is a used Dell You installed Visual Studio.NET 2003 on the Dell workstation Your tutorial is a file that has an .ink e ...Show All
SQL Server SQL 2005 Setup error of 1935
I am trying to install the client tools on an XP machine. I already had to run the .NET 2.0 repair to get past an earlier problem. 3 components fail, the first one being VS. Here are the highlights of the summary.txt file. What can I do to resolve this TIA! Microsoft SQL Server 2005 9.00.1399.06 ============================== OS Version : Microsoft Windows XP Professional Service Pack 2 (Build 2600) -------------------------------------------------------------------------------- Product : Visual Studio Integrated Development Environment 2005 Error : Error 1935.An error occurred during the installation of assembly 'Microsoft.VisualStudio.CommonIDE,Version="8.0.0.0",FileVersion="8.0.50727.42",PublicK ...Show All
Windows Live Developer Forums Error 8013150a when trying to access webservices from an Add-in
Im coding an add-in.. A translator Add-in...when I chat with someone who write in english the add-in uses free translator webservice and translate the text... But everytime the add-in try to access the webservice i get this error: 8013150a And the add-in is deactivated. Regards from venezuela Carlos Yakimov p.d: sorry for my bad english =P Hi Carlos, If you want to access Web Services you would need to GAC your Add-in. The Add-ins run under CAS and do not allow the calling of web services in this initial version. There are some threads on this forum on how to GAC your add-in thanks James ...Show All
.NET Development Passing parameter to stored procedure
Hi All, I am using Visual 2005 and very new to C# Windows Application. I created a stored procedure and connected the database through bindingsource, which created dataset and Adapter. I have two combo boxes. ComboboxB is a dependent of ComboboxA. Now, how can I pass the value from ComboboxA to stored procedure value, e.g., "@StateKey" so that I can have the drop down list based on the selected value from A Thanks for your response. I have everything filled up as you mentioned above and the link you referred to. This is what I have in my ComboBoxSample.Designer.cs file. // // CountryValue // this . CountryValue .DataSource = this .bindingSource1; this . Country ...Show All
