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

Software Development Network >> Jawad Naeem's Q&A profile

Jawad Naeem

Member List

Bluehunter
newbieneedshelp
amc
Thiago Moraes
Bill Reiss
scenedamaged
Digger1321
Andrea Antonangeli
cdolor
andrewness
PhilipHaugaard
SOTN
daijun
Burney
sunny123
tjBrockman
Kevin French
JohnGBunch
mcbsys
DPZ_Online
Only Title

Jawad Naeem's Q&A profile

  • Visual Basic Problems using a VB6 usercontrol in .NET 2005 - can't find interface, and unable to create from progid

    I'm having some problems in trying to upgrade a VB6 application to VB .net 2005 - I hope someone can give me an idea where to look: The basic upgrade process worked fine, but I'm having trouble with some VB6 / .NET interoperability. The part of this application I'm having trouble with has to create ActiveX controls from their VB6 progids. The old VB6 code used to create these activeX controls dynamically from progids using "controls.add". In .NET, I have tried converting the "controls.add" code to the following, where progid refers to a vb6 user control. (Note that there are a load of these controls which all work perfectly well and I really dont want to have to upgrade them to .net!) When I run the code ...Show All

  • SQL Server MDX Script - Infinit Recursion Detected

    I'm getting the error message: "Infinit Recursion Detected. The loop dependencies is: 98 -> 99" I have this script in Cube Calculations, in this order: [account dimension].[account hierachy].[bank application] = IIF ( [account dimension].[account hierachy].[Asset]>[account dimension].[account hierachy].[Liability], [account dimension].[account hierachy].[Asset]-[account dimension].[account hierachy].[Liability], 0 ); [account dimension].[account hierachy].[bank loan] = IIF ( [account dimension].[account hierachy].[Asset]<[account dimension].[account hierachy].[Liability], [account dimension].[account hierachy].[Asset]-[account dimension].[account hierachy].[Liability], 0 ); "bank application" i ...Show All

  • Architecture critique requested on thin Data Access Layer

    I have devised a way to save tons of code by calling stored procs with a single web service method, which takes a DataSet parameter, containing a DataTable with the name of the stored procedure and column names matching the parameter names, and row(0) contents matching the values to be passed. I have further simplified matters by making all parameters varchar, so a call from my client looks like: Dim paramVals As String() = { myString1, myString2 } Dim ds As DataSet = oneWsMethod("storedProcName", "param1,param2", paramVals) ... Dim params As String() = { this1String, thisOtherstring, thirdString } ds = oneWsMethod("anotherProc", "p1,p2,p3", params, usingTransaction:=True) My o ...Show All

  • Visual Basic Setting HSB value. Yes add a ColorDialog to your code then>>

    Is there a way to set the HSB values of a pixel in an image Can your project set the hue of a pixel without calling the colordialog I know there is a GetHue to get the Hue of a pixel but I can find no way of setting the Hue of a pixel. You can post your project if you have the time and I will look through it. Thank you, Troy L ...Show All

  • Visual Studio Team System Using AssemblyMajorVersion to update AssemblyInfo in Team build

    Hi, Haivng used the build script according to http://blogs.msdn.com/gautamg/archive/2006/01/04/509146.aspx , I find that the AssemblyMajorVersion is not updated for the binaries that are compiled. Anybody else who is having the same issue If you know, how to resolve this issue, can you please help me. Thanks This worked for me: I added the following to the project file (TFSBuild.proj): ---> Add After the original import statement < Import Project = " $(MSBuildExtensionsPath)\Microsoft\AssemblyInfoTask\Microsoft.VersionNumber.targets " /> . . <!-- Begin SS Added 08312006 seeing if the Assembly can be modified this way --> < PropertyGroup > <!-- Assembly version properti ...Show All

  • Visual Studio Team System Process Editor,TFPT and Permissions

    I can work with "Process Editor" from Team menu when I am logged by remote mode to TFS. The problem occurs when I try in local mode, I don't see the option. The same occurs with these options, I cannot access them by local mode: "Source Control" on Team Project Settings menu. "Source Control File Types" on Team Foundation Server Settings Is it a permissions problem Which of them I have all permissions on TFS ! Thanks a lot, Leticia I'm not sure what you mean by "local mode" - do you mean if you're logged in to the Team Foundation Server machine itself Assuming yes, are you able to see the Tools -> Connect to Team Foundation Server menu option Since t ...Show All

  • Visual Basic is there an easier way to do this?

    I apologize for the subject. This is what I have. 'Read the file and split it by line Dim SplitFile As String() = Split(My.Computer.FileSystem.ReadAllText(Application.StartupPath & "\" & dir & ConvertList.SelectedItem.ToString & ".txt", System.Text.Encoding.UTF8), vbCrLf) 'Clear the dictionary FromDict.Clear() 'Split each line of the file and add it to the dictionary For i As Integer = 0 To SplitFile.Length - 1 Dim SplitString As String() = Split(SplitFile(i), ":") FromDict.Add(SplitString(0), Decimal.Parse(SplitString(1))) Next 'Clear the array Array.Clear(s, 0, s.Length) 'ReDim the array to the correct size ReDim s(FromDict.Keys.Count - 1) 'Copy the keys of the dictionary to ...Show All

  • Community Chat Secure Data Organizer - A Free Password Manager Written in .NET 2.0

    Hi all, I've been working in .NET ever since the pre-RTM 1.0 release for my Master's Thesis. I continue to code in many languages but have been working on a pet project on the side called Secure Data Organizer. This is a free program that marks the culmination of several years of design and effort .It is a Password Manager but was designed to be the best one out there. Ease of use (even at the expense of developer pain) was a driving development principle, as was native and intuitive GUI, human-readable XML file format, and public disclosure of encryption algorithms and techniques. I released it as freeware to the web back in late November. Since then, we've grown to over 1,300 registered users--a nice starting userbase! Our big b ...Show All

  • Windows Forms Add values using Datatable

    I have a DataTable with two rows and two columns....In one of the columns is a decimal type how would i got about adding those values up and displaying them in a textbox.....Like i click a button my DataTable comes up I enter three or 4 numbers....I click my ok button on that DataTable form and it adds up those values and shows them in a textbox.....on my main form....can this be done without first saving the values Yes you can do without saving.   iterate thru the rows in cell endedit event. transfer the total amt to a variable assiciated with the main form.     if (e.ColumnIndex == 7)  -- refer the particular column index { TotalAmount = "0" ; for ( int i = 0; i < dataGridView2.Ro ...Show All

  • Visual Studio Team System PVCS to TFS conversion?

    Hello, we are currently working with the PVCS Version Manager and I want to migrate the data from our PVCS database into TFS because we want to use TFS in the near future. Is there any way to get the data to work in TFS Maybe with a third-party-tool I'm searching since 6 hours now and I can't find anything to do this. Regards Thomas I am evaluating the ComponentSoftware toolsand have found them to not be very robust. I am trying to leverage them in several test scenarios for migrating PVCS (via SVN) and Visual SourceSafe conversions and have had problems every step of the way. Only being able to interact with support via Email has slowed down the evaluation process considerably. Their is not cu ...Show All

  • Visual Studio Tools for Office Obtaining a selected range from a Word document

    How can I obtain a selection from a Word document as a Document.Range The intention is to use this range for changing the formating and text etc. The Selection object is accessed over the Application object. Assuming you've assiged the Word.Application to the variable wdApp: Word.Range rng = wdApp.Selection.Range; ...Show All

  • Visual C# How to find out unicode of a char value

    How to find out unicode of a char value  for example " " =\u " " =\u " " =\u or 骨 = '\u ' There's nothing in the Visual C# IDE to do this; but you can do it in code by simply casting a character to a int--as strings are Unicode in C#/.NET. For example: int a = ( int ) 'a' ; Debug .WriteLine( String .Format( @"{0} = \u{1}" , a, a.ToString( "X4" ))); ...Show All

  • Visual C++ Should this sample run without a crash?

    Hi, today I was testing some things and came across with something like this: #include <iostream> using namespace std; class A { public: void print() { cout << "test"; } }; int main() { A* a = 0; a->print(); return 0; } And I was a bit surprised when it ran without any problems both in debug and release in VS 2005. Well, I realize that since the code doesn't depend on the class, it may seem armless to run it but.. is this right Should it run in cases like this Is this standard or is it something that the VS team choosed to do since the code doesn't depend on the class I didn't check the standard yet to check if it says something about these cases, and I have to admit that sometimes it's hard for ...Show All

  • Visual Studio Team System What's the correct process to archive the final, shipped stuff

    When my project was shipped, I need to backup these shipped stuff. Here is my process, 1. Create a branch; 2. Move the stuff under 'current' tree to 'branch\release\1.0' 3. Set the 'READ ONLY' permission on 'branch\release\1.0' is that okay Do I miss sth Thx. if after many releases, the tree should be like, - $\Project - $\Project\trunk ("current") - $\Project\branches                   \1.0                   \2.0 - $\Project\releases             ...Show All

  • Visual Basic Getting the caller procedure name from the called procedure

    Hello, I'm developing in a VS2003 environment using VB.NET. I suppose the thingh I'm trying to do is possible and has a trivial solution ... but after searching all day long the Internet I cannot figure out "how"..... Is it possible to get the name of the caller procedure (or function) from inside the called Procedure (or function). If yes what Class/Variable do I have to refer to I mean ... Proc_A calls Proc_B with no parms and Proc_B should be able to say " Hello Proc_A ... ask me for anything you like and I'll do it for you ..... " Thank in advance Daniele Balducci This may help ... http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=566842&SiteID=1 ...Show All

©2008 Software Development Network