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

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

bluestar

Member List

Ken Villines
Nanja Raje Urs
Junmei
Ivana Hudakova
gon_no1
blabus
Frances83
lnkaye
Prasenna
FernandoLeite
etcheverrjc
lavez
Sebi Tauciuc
Alvin Kuiper
pimmy21
R. John
Irfon Subhan
Mike Bosch
AWOLMAN
IsisTheDamned
Only Title

bluestar's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. bitmap font messing up models?

    When i put in code for bitmap fonts (every implementation i can find and even an attempt of my own) it messes up the test model that i have displaying. I'll try to get screenshots soon, but to give you an idea... He is viewed at a 45 degree angle from HIS left. and the problem is that some polys are missing, and his right leg(the "back" one) is visible in front of the left ( the "front" leg). But this doesnt happen when i dont have the font drawing on screen. Incompatibility between 3d and 2d possibly How would you guys fix this if you dont have this problem, code examples of how you did it would be amazing! Didnt work... or maybe im doing it wrong! which may well be the vase! My code in Initialize() is grap ...Show All

  • Visual Studio Team System Issues with VB version of Creating a Customer Data Generator Walkthrough

    I went through the walkthrough on "Creating a Customer Data Generator Walkthrough" follwoing the VB code this afternoon and had a couple issues. The first issue was with step 7 in the "To Create a custom generator" section where we are instructed to "Add the Generator attribute to the class declaration, as shown below: " <Generator()> Public Class TestGenerator After I added the "<Generator()>" attribute to my code, I receive the following error when trying to build the project: "Error 1 Argument not specified for parameter 'designerType' of 'Public Sub New(designerType As System.Type)'." My second issue is with step 2 of the "To override the GenerateNextValues met ...Show All

  • Visual Studio How to use Analyze vss db?

    Hi, I've just started to use vss. Well, when I installed it, a default database "common" is also created. I added couple of projects in this database. And analyze vss db worked just fine. Then, I created a second database. My question is how can I run analyze vss db for this second database Thanks. Hi I typically run analyze by opening a command window and browsing to the location of the install SourceSafe componets that include analyze.exe (in 6.0 typical this is ..\vss\win32) Then run analyze path to the database (e.g. analyze -f c:\vss\data) From the nature of your question I figure you might be running analyze from a short cut in program files menu. If you prefer t ...Show All

  • .NET Development Dataset.Tables[0]?????

    the dataset.tables...does that refer to the tables that returned from my dataadpater and when i include the [0] that means i am refering to the first table that has been returned from my dataAdapter, so in other words are the tables 0 index based And DataRow.Row[0] is that 0 index based refering to the current row's in my dataTable Can someone help me out reading this code here, it seems that i am trying create a DataTable called "SalesName with two columns SalesPersonName and SalesPreson ID one type is string the other is and integer...Could i assoicate this table to show up in a control like a listBox or maybe a datagrid DataView view = new DataView(); DataTable table = new DataTable("SalesNames"); ...Show All

  • Visual Studio Express Editions 3 line text file to be put into 3 text boxes

    Hi. Ive got a text file which has: Line 1 Line 2 Line 3 Line 4 Line 5 Line 6 and 6 text boxes. How can i get my vb app to read the file and put each line into each textbox Thanks!!!! my fields are called f1,f2,f3,f4,f5 and f6. Opendiag.ShowDialog() Using filereader As New IO.StreamReader(Opendiag.FileName, System.Text.Encoding.ASCII) For BeanCounter As Int32 = 1 To 6 Me.Controls("f" & BeanCounter).Text = filereader.ReadLine Next End Using The code gets to Me.Controls("f" & BeanCounter).Text = filereader.ReadLine then it errors with Object reference not set to an instance of an object. If you know what to do then please reply, and thanks for helping me Cheers ...Show All

  • Windows Forms Drag and Drop between my application and windows explorer

    Hello Gurus, I have an application developed in C# ,drag and drop option implemented within the appication. In fact, I am able to drag the files from external windows explorer and drop em on my application. Now I want to drag the files from my application and drop em on external windows explorer or desktop and my application should be able to copy them. Could you please give me some suggestions or sample code that does similar thing BTW, I am using Visual Studio.NET 2003 version. Thanks, Sathish Kumar It is called Spy++ and is shipped with VS200x. You'll find it as Common7\Tools\Spyxx.exe in the VS installation folder. ...Show All

  • SQL Server SSIS Package Configuration Filter

    We have more than 100 packages which referenced many of the same data sources. In ideal situation, we would like to create three master filters based on the dev, test, and prod servers and all packages can just reference the same filters. However since one package normally only use a subset of master connections defined in the configuration files, if only those subset of connections are set up in the package, when the package is first open in BIDS, lots of errors will pop up saying that it could not find the connections defined in the configuration files. Even though this will not cost runtime error, it is still very annoying. Does anyone have better ideas on how to handle this Jane2006 wrote: T ...Show All

  • .NET Development need help inserting into a dbf file

    Hi, I am using visual studio 2005 and this is an ASP.NET 2 application the dbf file is a dbase 3 file. How do i get this to insert the record into the table. I have the current vfpoledb drivers. Dim SQL As String , ret As String SQL = "INSERT SHIPDATE,TRANSACTIO VALUES('01/01/06',11111)" Dim ConnString As String ConnString = "Provider=vfpoledb.1;" + _ "Data Source=" + _ "'f:\logdavid.dbf'" + _ ";password='';user id=''" Dim oConn As OleDbConnection oConn = New OleDbConnection oConn.ConnectionString = ConnString oConn.Open() Dim oCommand As OleDbCommand oCommand = New OleDbCommand oCommand.CommandType = ...Show All

  • Visual C++ vector::resize causes floating point exception

    Hello, I'm hoping for a reality check here. The following program generates a floating point exception in the vector::resize call. I compiled it under VC 2005 using the command line in the comment below. I've disassembled the executable and found that vector::resize creates a default Point object which is then copied to the new empty elements at the end of the vector. But note that the Point constructor doesn't initialize the x and y members. This means the bits are garbage, and vector::resize will copy the garbage to the new elements. This is no biggie because I don't use the uninitialized elements. However, the problem is that the compiler uses the floating point processor to copy the doubles. Whe ...Show All

  • .NET Development C# Com Interop problem - should be simple!

    I have some trivial vb6 sample code that uses a com dll to interface to talk to some hardware but I can't seem to port it over to C# Interop successfully. I have tried many permutation of marshalling attributes but I get a "Attempted to read or write protected memory..." exception with types I believe will work and DataTypeError returned from the com interface function if I am deliberately incorrect with the types.   The com interface declaration in OLE Viewer: long RpcCall(long iJobCode, VARIANT SendData, [in, out] VARIANT * RecvData);   The sample in vb6: Dim n() as Byte Dim r() as Long n = StrConv("Time_s" & vbNullChar, vbFromUnicode) conn.RpcCall(10012, n, r)   The intero ...Show All

  • Visual Studio Express Editions Change a window position

    I am a beginner and I was wondering how I could make a form/window look like its sliding accross the screen. I have set up the timer and that, I just need something like: Me.location = (x + 1, (middle of screen)) Thanks Nathan Try this: Me.Location = new Point(x + 1, (Screen.PrimaryScreen.Bounds.Height - Me.Height) \ 2)) ...Show All

  • Visual Studio Team System How to create a webtest

    I have a login scenario to test. The scenario is as follows The user will log in the web site. There will be passport authentication. and the user will be redirected to a new page. What i need to know is for this wherein the user will move from One web page to another and then back to the original. How should i create a webtest. Create a test project and add a new webtest to create a webtest http://msdn2.microsoft.com/en-us/library/ms182539.aspx . ...Show All

  • Visual C++ SetActiveView Problem

    Hi all .Following is the sample code in my program: there are two flows to run this code . from one flow i am getting correct output but my second flow giving me wrong results in k after coloured line of code: k=m_pGrid->GetSelCount(); CView *pOldActiveView = ((CFrameWnd*)AfxGetMainWnd())->GetActiveView(); ((CFrameWnd*)AfxGetMainWnd())->SetActiveView-> (((RMgrChildFrm*)pActiveChildWnd)->m_pRelatedDocView) ); k=m_pGrid->GetSelCount(); ((CFrameWnd*)AfxGetMainWnd())->SetActiveView( pOldActiveView );   Any help is appreciated. I think you should give us more details.   Maybe your control looses the selection when it looses the focus What is ...Show All

  • Visual Studio Tools for Office Word 2007 customized ribbon deployment

    I want to deploy my Word 2007 customized ribbon to other Windows XP Professional computers. What software components need to be installed before I can install the customized ribbon (What parts of Office 2007 etc.) Also, in what sequence should these components be installed I created the customized ribbon in Word 2007 using VSTO v.3. The add-in is written in C#. VSTO creates a release-folder under “\Visual Studio 2005\Projects\MyProject\ MyProject Setup\Release” which I want to deploy to other computers. In other words, my customized ribbon is visible for all documents in Word, and does not reside as a Visual Basic-macro inside one file. Vegar Imsland ...Show All

  • SQL Server RB - Logical Primary Key

    There is a Set Logical Primary Key option in DSV. Curious as to what is the Logical Primary Key. What is it behind the scene ...Show All

©2008 Software Development Network