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

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

vAlex

Member List

LynnR
JavaSci
Neilb54
ShawnReed
Rajesh Giri
rmelnikov
Mimzo
CodemanV
Ivan Radley
terry62
FransM
Julian Haeger
ivy kuo
me here
Robert Palmer
Hurm
minidea
Ed Dudenhoefer - MSFT
heldchen
Venkat2Day
Only Title

vAlex's Q&A profile

  • SQL Server Which Transformation to use

    Hi there, I want to check whether the values in a column within a defined list of values or not. These values aren't in a table or a file - I just want to "code" them in the package so to speak. I was thinking of using a script component but I'm not sure how to "fail" a row if it the column's value is not part of the pre-defined list. Any suggestions. Thanks. For fast performance, I expect coding the checks as a series of conditional operators in a Derived Column Tx would be the most efficient. For large lists, or more dynamic lists, putting them in a SQL table and usi ...Show All

  • Visual C++ Tips for speeding up debugging (stepping through code)?

    I've got one particular large C++ project that, in VC 2005, when stepping through code in the debugger, it takes approximately 2 seconds for each hit of the F10 key (i.e. each line of code) to be executed. I've tried many things to attempt to speed it up: disable intellisense, renaming feacp.dll, removing all additional output windows, watch, breakpoints, etc, removing navigation bar from text editor window, disabling anti-virus on the machine, closing all other apps. It's always the same speed. Running on a dual P4 2.8 gig with 1 gig of memory, and hyperthreading enabled. Are there any other tips for speeding up debugging in the ...Show All

  • .NET Development Email Priority

    In the new System.Net.Mail.MailMessage object, I do not see a way to set a message's priority. If I recall correctly, this was in the older model found under System.Web.Mail.MailMessage. Any ideas as to how to a a MailMessage's priority Thanks. John Try this: 'assuming message is your MailMessage obj message.Headers.Add("X-Priority", "1 (Highest)")   Possible values : 1 (Highest) 2 (High) 3 (Normal) 4 (Low) 5 (Lowest) 3 (Normal) is default if the field is omitted. wilfridB ...Show All

  • Visual Basic Automating Excel - code doesn't execute on 2nd loop iteration

    Hello all. I have written code in VB.NET to automate Excel. This portion will copy a range on 1 sheet, find the last cell in a particular column on a 2nd sheet, paste the range and then sort the data so to remove any empty cells. The problem is that the code executes the first time in the loop (index = 0) but not the 2nd time although while stepping through it, it appears that it should work fine. It works for the 3rd iteration on to 15 or above, just not on the 2nd time it loops index = 1). I put break points in the code and all of the values appear to be set correctly and there is no error. What happens is that the code trys to activate ...Show All

  • Visual Studio Express Editions BackgroundWorker Problems.

    Hello, I'm working on a simple app. that uses the GUI and 2 threads(backgroundWorker) to do some reading on some ports and to handle some alarms. The problem is that when ran on the target machine, it doesn't fire the update function, until it has finished or stopped. here's the basic function. 1- GUI loads. 2.- user configures the reader thread and starts the thread that keeps reading some ports. 3.- If the thread reads nothing, it updates with some progress, and if it reads something wrong, it updates with another progress (yes, I use the progress as status code, as there's no other way to do this with it... or is there a way ) 4. ...Show All

  • Visual Studio Express Editions PSDK Help with VC++ Express 2005

    I just got the Platform SDK working with VC++ Express, How can I use the PSDK Help with Express 2005 For context sensitive help If any-one can help, it would be appreciated. Thanks! See: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=146016&SiteID=1 . To Adlib on that thread: As an alternative to typing ms-help://MS.VSExpressCC.v80/dv_vsexpcc/local/CollectionManagerExpress.htm, you can click on the Index tab and type "Visual Studio 2005 Express Edition Combined Help Collection". This can also be used to integrate [ / remove ] the DirectX SDK and the SQL server books online. ...Show All

  • .NET Development What Iam doing wrong?

    OK. What Iam doing wrong here I have wrote this function, but it doesen't work :S. ReadHTMLFile() is a function that reads whole HTML file. GenerateMenuBar() is a function to generate menu bar for the HTML file. Then I do what I need to do (is in WriteHTMLFile() function) and when I write the file I get a page like some tags are missing (truncated :S). I compare the html files (the original one and the generated one) and Ive notice that at the bottom of the file some tags are in very strange place (see below the code). public void WriteHTMLFile()         {          &nb ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Rotate the world

    Hi All How can I rotate the world in Managed DirectX using mouse drag and zooming using Scroll, like DirectX Viewer did Thx All The source code for DX Viewer is in the SDK. Its a C++ sample. Also a lot of the managed samples also do this using the ModelViewerCamera classes in the framework, take a look at that code to see how it works. Finally do some searches for 'arcball', this is probably the most common solution to the problem. However explaining the whole thing is too much for a forum post. ...Show All

  • Visual C++ Compile QT4 x64 Problem

    Update: Problem sloved by closing other CPU-hungry apps and recompile ... --- Hello, I try to compile Trolltech's new QT4 for Windows x64. Using VS2005 Beta 2 the QT4 framework was compiled successfully for 32-bit mode. Now I try to compile to two master QT dlls: QTCORE4.dll and QTGUI4.dll as 64-Bit files. The project has been correctly setup in Visual Studio, Target is x64 and platform AMD64. QTCORE4.dll  was compiled successfully. At the end of QTGUI4-compilement I get the hard error shown below. Somebody else already compiled QT4 for x64 1>Compiling resources... 1>Linking... 1>   Creating library C:/QT4/lib\ ...Show All

  • .NET Development Implementing Optimistic Concurrency Control using Datasets

    I have designed a data access layer in which all the updates happen using the data adapter.update(dataset) method. The problem I'm facing is that by default the 'Last In Wins' concurrency is being done. I mean the last update is potentially overwriting all the other updates done. The requirement is to implement an optimistic concurrency approach meaning that if two users A and B have datasets of table X and if User A updates the table X with his/her dataset before User B does, then in that case, when User B tries to update the table X, an error should be raised or no rows no should be updated since the actual data in the table X ...Show All

  • Visual C# C# Webpage image file

    What is the correct location of the file, and the best way to link an image for a webpage so that it is viewable to all best way to link the image is to give relative path like "~/Website/Images/Image1.jpg", instead of giving absolute path like "C:\Inetpub\wwroot\Website\Images\Images1.jpg" ...Show All

  • Smart Device Development where can i find articles or lessons about wifi and its CF programming with VB.Net?

    hi .. i just want a simple lessons and examples about wifi and its programming with vb.net , please can you help me to find what i search for Hi, I would suggest you to take a look at the .NET Compact Frameowrk site for some samples and codes to help you get started: http://msdn.microsoft.com/netframework/programming/netcf/default.aspx You should also be able to find information if you search for HttpWebRequest. NETCF follow the same programming model as the full .NET Framework. Cheers, Anthony Wong [MSFT] ...Show All

  • .NET Development Problem with InternalsVisibleToAttribute

    Hi everyone, i have some internal methods in my projects and i want it to be acces from another project B so i added this attribute [assembly: InternalsVisibleTo ( "B" )] and it's working fine i can access those method now from project B the problem is another developer have the same solution we are using source control so he have the same version and it's not working on his machine despite the fact that when i press . i get the method names in the list but the project still doesn't build and the compiler complaining about those methods saying that those methods is not exist does anyone face this problem b4 ...Show All

  • Visual C# Can I change the BackColor of the DataGridView's Column Header and Row Header (C# VS 2005)

    Please help me-out with this issue. Hi, How do i give my DataGridView an overall Header. It is currently the same as this example with row and column header but i want to give it an overall header. such as "CDs" - in your example. The previous way to do it was using CaptionText for a Datagrid but i cant find a way with DataGridView. Any help would be much appreciated. Thanks. ...Show All

  • Visual FoxPro Terminal Services 64-bit and VFP9

    Any known issues with using 64-bit Server/Terminal Services and VFP9 Thanks! ...Show All

©2008 Software Development Network