Software Development Network Logo
  • Windows Vista
  • Visual Studio
  • Windows Forms
  • Game Technologies
  • .NET Development
  • Smart Devicet
  • SharePoint Products
  • Visual Basic
  • VS Team System
  • Visual FoxPro
  • Visual C++
  • Audio and Video
  • Microsoft ISV
  • IE Development
  • Visual C#

Software Development Network >> Kapalic's Q&A profile

Kapalic

Member List

srinivasintouch
Fahd
lcj
eitanb
Evan Mulawski
ZardoS42
MFZ
rlnd
nhaas
leo1234567
ImGivingUp
mEt
Pascal Mignot
dork
roger5089
jitter123456
Ultrawhack
Sqnyy
pramod_sp
Leahx
Only Title

Kapalic's Q&A profile

  • Visual Studio Team System No empty catch blocks?

    We currently have a development standard that states: No Empty Catch Blocks Catch blocks shall implement explicit handling for the exceptions they catch. Does anyone have a problem with this dev standard We are thinking about creating our own FxCop rule for this, but just wanted a sanity check. We have thought about this rule and will likely implement this in a future version of Visual Studio/FxCop. There are few things you will need to note: There are valid situations where having an empty catch block is exactly what you want when catching a very specific exception, such as FileNotFoundException or FormatException. You need to take into consideration instructions that should be considered as empty, such as nop (No operat ...Show All

  • Windows Forms Need Help!!!!!! URGENT

    I am troubling in getting data from datagrid. I am using C#, MS VS 2003 and my project is windows form not web base. I create data table and set it as a dataGrid.datasource = datatable; It's working. But my problem is I don't know how to retrieve data from dataGrid. Anyone has any idea Plssssssss help. I need it urgently. Thanks. George well if you have bound the datasource of the datagrid to the dataset for example, using the SqlDataAdapter to fill the dataset with records, you can call the Update() method of the SqlDataAdapter which will then automatically update the database for you, provided you give it a valid update command, it saves all this hassle....there are a few exampl ...Show All

  • Visual Studio Release build using MSBuild

    Hello, I have just started using msbuild for building my projects and I was wondering how to create a 'Release' build. I have a bunch of WinForm C# csproj(s) in a VS2005 sln and when I use msbuild as msbuild C:\myFolder \ mySolution .sln it works fine and creates a Debug build When I try to make a Release build using msbuild C:\myFolder\mySolution.sln /p:Configuration=Release , it goes ahead and makes a obj\Release folder and puts the binaries in it. However, it also creates PDB files along with the DLLs. So I am guessing that it still makes a Debug version of the DLLs. Can someone please help me with this Thanks, Satya If you haven't changed ...Show All

  • SQL Server Failure to open SQL Server with given connect string.

    So, I have a Server running Windows 2003, windows firewall offline, with Sql Server 2005 and SQL Server 2005 Mobile Edition. This server is running behind a firewall. When I try to PULL data with RDA from the internal network, all work's great! But when I try it from the exterior, internet, I always receive this message: Failure to open SQL Server with given connect string. [ connect string = Provider=sqloledb;Data Source=<MY INTERNET IP>,11433;Network Library=DBMSSOCN;Initial Catalog=testdb;User Id=sqlceuser;Password=test; ] On my firewall, I unblocked port 80 and 11433 and mapped them to my internal server IP with port 80 and 1433. I use port 11433 on internet because my ISP block the 1433. How can I solve this pro ...Show All

  • Smart Device Development How to rename a project folder in Mobile 5.0 device project

    I have started a Mobile 5.0 Pocket PC device Appliction project. At the end, I have been requested to rename the folder....grrrr. Any help I'm not quite sure I follow... It's a folder on your file system, so rename it as any other folder. Or, are you're asking about folder on device You can change it in the "Output File Folder" property. ...Show All

  • Smart Device Development Tasks in MS Mobile

    I am trying to sort my tasks from my PC on XP to my Starcom pocket PC with MS Mobile. The syncronized items on the Starcom, when sorted by due date are always sub sorted in reverse alphabetical or decending numerical order. How do I change this secondary sort to alphabetical/assending numerical order This forum is smart device development related. Since your question is not related to smart device development, it's off topic here. If you’re having a hardware issue, please contact hardware manufacturer or reseller. If you having an issue with 3rd party software, please contact respective software manufacturer or reseller. Otherwise please post to relevant forum or news group: http ...Show All

  • Visual Studio 2008 (Pre-release) SQLMetal / visual editor - connecting to remote server

    I’m unable to find any examples for sqlmetal where it connects to a remote SQL 2k5 server over TCP/IP. What is the syntax for the ”/server:” option for this work Also, what rights are required for the sqlmetal/visual editor to work Currently I have a SQL 2k5 database where the user is mapped to the ”db_datareader”, ”db_datawriter” and ”public” roles. But the visual editor doesn’t work with this. If I add the user to the ”sysadmin” role on the SQL 2k5 server, it works. But this is not a solution for me. So what tables and accessrights are required for the SQLmetal/visual editor to work On the same note, what rights are required for the runtime to work. When we deploy this to a production server, I would like t ...Show All

  • Visual Studio Team System Start Date field in Task work item

    Hi, It's look like we can't fill the Start Date field in Task work item (Agile Template). The field is grey. Is it a well known bug or we are doing something wrong   Thanks Michael Hello Michael, This is by design in the out of box process templates. If you download the template and look at the WorkItem Tracking/TypeDefinitions/task.xml, you will find: <Control Type="FieldControl" FieldName="Microsoft.VSTS.Scheduling.StartDate" Label="Start Dat&amp;e:" LabelPosition="Left" ReadOnly="True"/> The Start and Finish Date fields were designed to be editted/filled using Office integration apps such as Excel or Project and hence are marked ReadOnly for the IDE. You can modify the def ...Show All

  • Visual Studio 2008 (Pre-release) Scaling problem in UniformGrid

    I have another problem with scaling in a UniformGrid. When I use the code below the images look fine in their cells but the text in cell 0,0 and even the header of the groupbox is scaled down too much. How can I prevent the scaling of the image to have an effect on the rest of the grid Thanks for your help ;-) < GroupBox Header = " {Binding Path=ItemHeader} " HeaderTemplate = " {StaticResource rightAlignedHeaderTemplate} " > < UniformGrid Rows = " 4 " Columns = " 2 " > < Grid > < Grid.ColumnDefinitions > < ColumnDefinition /> </ Grid.ColumnDefinitions > < Grid.RowDefinitions > < RowDefinition /> </ Grid.RowDe ...Show All

  • SQL Server How to align the text in justify format with SQL Server Reporting Services?

    How to align the text in justify format In SQL server Reporting Services Is there any code to do so Hi, I'm afraid that if you want to have this kind of functionality, you will need to write a custom control. Here is an example: http://msdn2.microsoft.com/en-us/library/ms345265.aspx . The issue with custom controls is that it needs to be known by all the reportservers that will render your report. Greetz, Geert Geert Verhoeven Consultant @ Ausy Belgium My Personal Blog ...Show All

  • Visual FoxPro Alt-F4 to close the current form and NOT the application.

    Is there a way to set VFP so alt-F4 closes the current open window within VFP instead of the vfp application itself Thx. Don; It woarks like a charm... As long as its not ALT-F4. Any key is being trapped in the Keypress, but when I use alt+F4 the VFP application itself closes before the Keypress will intercept it. Any other ideas Thx. ...Show All

  • .NET Development errors adding a web service with sockets to a C++ project

    Hi everyone, I have a web service which communicates via TCP to a C# program. When I invoke it's methods through a browser, they work fine and can communicate perfectly with the C# program. However, when I attempt to add the web service to a C++ MFC DLL I've created, I get multiple warnings, but with only 2 unique: 1) Warning 3 warning SDL4008 : skipping unrecognized extensibility element, with c:\Documents and Settings\*******\My Documents\Visual Studio 2005\Projects\Extend\Extend\CalcSvc\CalcWS.wsdl 84 2) Warning 9 warning SDL4001 : only one SOAP port will be processed. c:\Documents and Settings\cpappas\My Documents\Visual Studio 2005\Projects\Extend\Extend\CalcSvc\CalcWS.wsdl 104 I am assuming it is because the web service opens a s ...Show All

  • Windows Live Developer Forums Problem 3D plugin setup in other languages or locations

    Hello all, first congratulations for your new and amazing v4!! I tried to test it, but I have a setup problem. My Windows is configured in spanish language (ES). The setup stop with "be patient... your language and location is not available". I dont understand, why the language is a problem ... Please... when I can test it Thanks a lot! Alex hi, i had the same problem, i don't know why the language is such a restriction. But anyway, you can test it changing your "configuracion regional" (Control Panel-Configuracion regional y de idioma ) (if you are using a spanish version of windows). In 'estandares y formatos' I chose Ingles (Estados Unidos) and in 'Ubicacion' i chose Estados Unidos. Then retry the inst ...Show All

  • SQL Server Local Cubes in SS2005, specifically for the dev team

    Hi, A question on local cubes... If I'm right in saying that if you use the CREATE CUBE statement to create a local cube using the MSOLAP.3 provider, that under the hood you will in fact still be using the MSOLAP.2 provider and hence creating AS2K local cubes, how will this tally with mainstream support for AS2K ending in 2008 Will these form of local cube cease to be supported at that time regards Colin Well I'm basing my assumption on the information in MDX Solutions, chapter 17, which in turn was based on information obtained directly from the development team As I understand it, when the connection is made to the empty .cub file and the MSOLAP.3 provider sees the syntax CREATE CUBE and ...Show All

  • Visual C++ 'DisplayMat' : cannot convert parameter 1 from 'int [6][6]' to 'int *[]'

    Hi. this is a sample of my problem. what should I do thanks. #include "stdio.h" #include "stdlib.h" #define _Row 6 #define _Col 6 void DisplayMat(int *Mat[]); void main() {  int Matrix[_Row][_Col] =  {   { 11,0 ,13,0 ,0 ,0 },   { 21,22,0 ,24,0 ,0 },   { 0 ,32,33,0 ,35,0 },   { 0 ,0 ,43,44,0 ,46},   { 51,0 ,0 ,54,55,0 },   { 61,62,0 ,0 ,65,66}  };  DisplayMat(Matrix); } void DisplayMat(int *Mat[]) {  int k,j;  for ( k = 0; k < _Row;k++)  {   for( j = 0;j < _Col;j++)    printf("%d\t",Mat[k][j]);   printf("\n");  } } You need to change the signature of DisplayMat function to this: void ...Show All

©2008 Software Development Network