Software Development Network Logo
  • Visual Basic
  • Windows Live
  • Microsoft ISV
  • Windows Vista
  • SQL Server
  • Visual FoxPro
  • Windows Forms
  • Visual C++
  • .NET Development
  • Visual Studio
  • Visual C#
  • Smart Device
  • Game Technologies
  • Architecture
  • VS Team System

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

JARP2006

Member List

Howard Pinsley
Scott1978
DeepeshMS
rpisipati
naiad
scritchy
Genesis_85
DHRITIMAN BANERJEE
Francis06
vogue
Carlos Voltolini Neto
cptkhoa
cnceric
zullu
desny
rjackb
JenLeonard
Henk v J.
GAFatWork
JasonFuller
Only Title

JARP2006's Q&A profile

  • Visual Studio Crystal Report using ADO.NET Dataset

    I have tables which are given below Customers : custId, custName Orders : ordID, ordName, amount, custID I want to generate a report using these two tables which should look like custID - xxxx custName - xxxx OrderID OrderName 1 aaa 2 bbb 3 ccc can anyone suggest me a sample code which can generate crystal report that displays data from multiple tables of a dataset. Hi. If you are using SQL Server, you could create a stored procedure and then set your datasource to the stored procedure name. For examp ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. For loop in Pixelshader 2.0

    Hi, i try to use more than 1 light in a Pixelshader 2.0 and made a loop to go through all lights. In this loop i use some 'normalize', 'mul' and 'dot' functions but it seems compiler unrolls this loop so i got with 3 and more lights "too many arithmetic instruction slots". Is there any chance to avoid this loop unrolling No. Pixelshader 2.0 does not support loops. If your shader does not fit you will have to use a multi pass solution. You can use the 2.A and 2.B profile to get a higher instruction limit but this shaders will not run on every hardware. ...Show All

  • Visual Studio Team System Build and Publish Problem

    I am bit new to TFS and currently leading a project to be migrated to TFS. We have 8 Projects in a single solution. 1. Interface (1st Win Forms Project) 2. Adapter (Dll for project 1) 3. Interface (2nd Win Forms Project) 4. Adapter (Dll for project 2) 5. Web Services (Used for both Win Form Projects) 6. Data Access (Used for both Win Form Projects) 7. Schemas (Used for both Win Form Projects) 8. Database Project (Used for both Win Form Projects) Normally we give our tested code to CM (Configuration Management) group and he breaks these 8 projects in 4 different solutions. 1. Solution 1 (Interface and Adapter ...Show All

  • Visual C++ specstrings.h / sal.h

    XPSP2 PSDK specstrings.h appears to conflict with VC sal.h Numerous warnings of type; c:\program files\microsoft platform sdk for windows xp sp2\include\specstrings.h(334) : warning C4005: '__reserved' : macro redefinition c:\program files\microsoft visual studio 8\vc\include\sal.h(672) : see previous definition of '__reserved' c:\program files\microsoft platform sdk for windows xp sp2\include\specstrings.h(341) : warning C4005: '__checkReturn' : macro redefinition c:\program files\microsoft visual studio 8\vc\include\sal.h(673) : see previous definition of '__checkReturn' c:\program files\microsoft platform sdk for windows xp sp2\inclu ...Show All

  • Windows Forms how to chang two listbox focus?

    I want to click a button to display item in any one listbox in details. one listbox is inlistbox, other is outlistbox. how to change the focus on the two listboxs public void viewbutton_click(Object sender, System.EventArgs e) { if(this.inlistbox.SelectedItem.GetType()==typeof(Bird)) this.infotextbox.Text = ((Bird)this.inlistbox.SelectedItem).getBirdTotal(); else if(this.inlistbox.SelectedItem.GetType()==typeof(Snake)) this.infotextbox.Text = ((Snake)this.inlistbox.SelectedItem).getSnakeTotal(); else if(this.inlistbox.SelectedItem.GetType()==typeof(Monkey)) this.infotextbox.Text = ((Monkey)this.inlistbox.SelectedItem).getMonkeyT ...Show All

  • Visual Basic Select Questions??

    Select tblRepairCodes.Name, tblWatchRepairXRef.RepairCost From tblWatchRepairXRef INNER JOIN tblWatchInstance ON tblWatchRepairXRef.Instance_Key = tblWatchInstance.Instance_Key INNER JOIN tblRepairCodes ON tblWatchRepairXRef.REPAIRCODE_KEY = tblRepairCodes.REPAIRCODE_KEY Where (tblWatchInstance.WatchID = '0010000269') I have this select query and it works fine but when i run in the Querey Analyzer i get all the repair associated with it....But in my client code i use my datareader to pull the info but it only shows ONE repair when in QAnalyzer it shows them all....any help with this issue would be great! While dr1.Read() ...Show All

  • Visual Studio 2008 (Pre-release) TextBox input validation

    How can I validate input for my textboxes For example I have an application where I want to input several numbers in the textboxes. The primary validation constraint is that I want the user to be able to input only valid real numbers. Some of the textboxes should contain only positive real numbers. Also I want to be able to do comparisons between the different values (for example I have a minimum speed textbox, and maximum speed textbox, so there's one more rule here: min <= max). Also, if the user is currently editing a textbox, he should be able to cancel the modifications, by pressing escape. How can I do all these with Avalon/WPF Tha ...Show All

  • Visual Studio Express Editions Passing One Var Between Two Forms Using Constructers?????

    I know it has been asked at least 3 Times.... The answers are way to general and assumming an Understanding of OOP to be helpful to me.... Could someone Please post some very simple EXECUTABLE Code that does this using two forms...... two buttons and One variable.... Thanks I'm not sure what you mean about the buttons but if you want to write a constructor in a form that takes an argument it would look like this: Private myObject As Object Public Sub New ( ByVal obj As Object ) ' This call is required by the Windows Form Designer. InitializeComponent() ' Add any init ...Show All

  • Visual C# Resizing jpg to smaller resolution

    I am not sure whether I should be in C# or C++ perhaps somebody could advise I write in Visual Basic & have an app the I want to allow the user to select some jpg files and have them reduced in resolution As Vb does not have this facility, I was hoping I could get somone to point me in the direction a code example I could utilise in net 2005, (don't yet know how) using C which I could then compile. my app would shell the c app at the appropriate time or a compiled exe that does the following read a text file which has detail re resizing size a list of files to resize with destination folder and name the ...Show All

  • Software Development for Windows Vista Visual Studio 6.0 SP5 setup on Vista Beta 2 (5384)?

    Does anyone know how to get around the MDAC check in the Service Pack 5 setup of Visual Studio 6.0 For some reason it doesn't detect MDAC 2.5 or higher which it requires (even though Vista obviously has a later version - 6.0) and the setup will not continue from that point. I've tried every registry key I could think of to trick it into thinking MDAC is installed. Thanks Ted. Totally untrue - the support on Vista has been committed to by Microsoft until March of 2008  http://msdn2.microsoft.com/en-us/vbrun/ms788708.aspx I know for a fact that it runs perfectly on Vista as I have run i ...Show All

  • Visual Studio Team System TF30177 : Team project creation failed

    Error TF30170: The plugin Microsoft.ProjectCreationWizard.WorkItemTracking failed during task WITs from group WorkItemTracking. Explanation Plugin error text: “TF24016: Cannot find team project 'testing31'.” User Action Contact your Team Foundation Server administrator. Warning TF30144: The New Team Project Wizard attempted to roll back all of the steps taken to this point but was unsuccessful. Contact your Team Foundation Server administrator for further instructions. Project Log................... Starting with the last completed task 2/13/2006 4:16:21 PM | Module: Engine | Task "& ...Show All

  • SQL Server Does SQL Server support all languages using Unicode

    I have an international Internet business and I use SQL Server with the Unicode field types of nchar, nvarchar and ntext. I seem to have no problem with customers entering Slovakian, Slovenian, Romanian, English or German, but Hebrew and Japanese do not seem to work. The resulting data coming back from the database after adding a record is garbage. I had the software email me the data immediately before adding the data to SQL Server. It was appearing correctly with respect to the foreign language character format. The software does the database add and then returns a list of records currently in that table. The information for Japanese or He ...Show All

  • SQL Server Copying Database without data

    Hi, Does anyone know, with either the Apr or Jun CTP, how to copy an entire database without the data   I know to use the SSIS wizard to copy tables with data, but there seem to be no option to not copy the data. Thanks. you can 1. left click source database ->Script database ->create to 1.1. change database and filenames on the script created 1.2 execute script to create new database 2. left click source database -> tasks -> generate scripts 2.1 add at the to the following lines use newdatabasename go 2.2. run the script you can save the scripts and u ...Show All

  • Smart Device Development Can't display a string correctly (POCKETPC 2003 - mbstowcs - SendMessage)

    Hello, I'm basically trying to display a text in a window. I'm using VC8 and I'm building for PPC2003 & Windows Mobile 5. I use a method that does something like: Write(const char* text) { LPTSTR lpBuffer = new TCHAR[strlen(text) + 1]; mbstowcs((wchar_t *)lpBuffer, text, strlen(text)); lpBuffer[strlen(text)] = '\0'; int nIndex; nIndex = GetWindowTextLength(m_hEdit); SendMessage(m_hEdit, EM_SETSEL, nIndex, nIndex+strlen(text)+1); SendMessage(m_hEdit, EM_REPLACESEL, 0, (LPARAM)&lpBuffer); delete [] lpBuffer; } On the screen of the device (of the emulator as well) I only can see squares and odd stuff :/ ...Show All

  • .NET Development Question about System.Diagnostics.Process

    Is there a way to set the environment for a System.Diagnostics.Process before starting the process by running a batch file in the process context I know there is StartInfo.EnvironmentVariables and that I can manually set environment variables before starting the process. But what I am looking for is to do it by running a batch file in the context of the process. Thanks -Munjal You can start cmd.exe with a command line "/c MyBatchFile.cmd", where MyBatchFile.cmd calls the batch file that sets env variables, then runs your process. ...Show All

©2008 Software Development Network