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

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

LSATL

Member List

xion.truth
Uturn
Ondrej Vaverka
Leotru
Henrik Dahl
R Raghu
GeoB
farsad ghaffarian
ga2006
Shark_
Tomas L
gmaenrile
wilsonm
henri.ks
Sarosh79
snuffnit
Whoisit
*A
Emadkb
zxdgsadf
Only Title

LSATL's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. XNA Templates in VS2005 Pro?

    Has anyone tried using VS2005 Pro for XNA Games I know you need C# Express installed, but if you copy the templates to the VS2005 folders and reference the DLLs, will it work Today I discovered that my MSDN subscription (bought for me by the company I work for) allows me to use VS2005 Pro at home. I don't really do any development other than playing with XNA, so I was just wondering if it was worthwhile installing it or not I'm not only missing the threads window, but I'm missing the ability to connect to a process. I use csUnit for unit tests, and not being able to debug through the IDE is a little on the painful side. ...Show All

  • SQL Server Writing data from multiple tables to a single flat file

    I have a package that contains three database tables (Header, detail and trailer record) each table is connected via a OLE DB source in SSIS. Each table varies in the amount of colums it holds and niether of the tables have the same field names. I need to transfer all data, from each table, in order, to a flat file destination. I have created a flat file connector containing all the necessary fields that need to be transferred from the above three records. Header record contains 1 row of data. 4 colums Detail record may contain numerous rows. 28 columns. Trailer record contains 1 row of data. 4 columns. I need to write the row of data from the Header Rec. to the Flat file destination first, then I need to write the multiple rows of d ...Show All

  • SharePoint Products and Technologies possible bug in SPFolder? -getting InvalidOperationException when accessing list

    Hi, Setup: System.Web.UI.WebControls.WebParts.WebPart WSS v3 In CreateChildControls i add a Microsoft.SharePoint.WebControls.NewItemButton with SPControlMode.New The button is assigned the ID from a list that is situated in the root of the Site Collection The web part is always using this root list also if it is called from other sites. Everything works fine in the root, including the "new list item" button. In sub sites, everything works except when i add the NewItemButton to the control tree, i get an InvalidOperationException (Operation is not valid due to the current state of the object). The stack trace shows that the exception occurs in SPFolders [7544] Exception StackTrace: at Microsoft.SharePoint. ...Show All

  • .NET Development Need help with building a Regex

    Hi, I’m I want to build function that returns numeric Regex by few params: Allow Zero (the number can be 0) Allow Negative (the number can be negative like: -5) Allow floating point (the number can contain floating point (double) like: 7.6) Left to floating point (how many numbers can be in the left side of the floating point) Right to floating point (how many numbers can be in the right side of the floating point if there is a floating point) I build this function: public string GenerateRegExPattern() { int minLeftToFloatingPoint = 1; int maxLeftToFloatingPoint = LeftToFloatingPoint; string pattern = string .Empty; if (_allowNegetiv && !_allowZero) { // Numb ...Show All

  • Visual Studio Express Editions Overrides BackColor in a Custom Control

    Hi, I'm creating a custom control that uses DrawPolygon and FillPolygon in the control's Paint event handler to create the visual control in the user's window. I'd like to Override the BackColor routine so that instead of coloring the rectangle in which the polygon is located it just uses the color in the FillPolygon routine. This is the code I am using: Public Overrides Property BackColor() As System.Drawing.Color Get Return _FillColor End Get Set ( ByVal value As System.Drawing.Color) _FillColor = value Me .Refresh() End Set End Property I have created the variable _FillColor which is used by the Paint event handler when it calls FillPolygon. The result is that the entire rectangle is ...Show All

  • Software Development for Windows Vista When call GetOutputData() of IBidiRequest Bidi interface error code 13 happened.

    I try to get the printer status through Bidi interfaces in Windows Vista. My settings: OS-Vista RC1; Printer-HP 4650 on 10.16.110.89; Printer driver-HP 4650 Color LaserJet PCL5c My procedure: In my code: 1) Call BindDevice() of IBidiSpl -- Successfully. 2) Call SetSchema() of IBidiRequest -- Successfully. 3) Call SendRecv() of IBidiRequest -- Successfully. 4) Call GetOutputData() of IBidiRequest -- Failed. Notes: the error code of GetOutputData() is 13 (The data is invalid). I am sure that the printer is connected well and could work well. I wrote the code based on the sample on http://msdn2.microsoft.com/en-gb/library/ms535684.aspx Can anyone give me some advice on this issue Thanks. ...Show All

  • Gadgets resize the gadgets by default

    hi everybody, I have some problems whith te size of the gadgets....when i make a test on the http://test.livegadgets.net/ platform, everythingh is ok with the size, the gadget is full screened showed. But when the gadget is approuved, and is loaded in my space for a real test, it sometimes sized ok, and sometimes cut so the height is truncated. In the js file, i've tried the real size in pixels and the relative size in 100%, but somethingh i miss i'm sure...... so, does that fonctiun clear the problem for the resizing of the gadget, and permit not to be truncated m_module.resize(); if (window.parent != window.self) { document.body.style.backgroundColor = "transparent"; } thankyou for helping me, but foo ...Show All

  • Software Development for Windows Vista Recover Vista Installation?

    Hello, I didnt know where else to ask this question. I had windows vista on a partition, and I installed XP in another partition, now I cant start vista, I had to install XP because Creative doesnt have full drivers for my sound blaster fatality sound card, So I will use Vista for everything and XP for gaming. The partition is still there but I cant log on on windows vista Do I have to install it again= is there a way to modifty the Master Boot record. to fix this I had the same problem with Vista and XP Professional. You can find the boot.ini file in your hard disk. My own boot.ini looks like this: [boot loader] timeout=30 default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS [operating systems] multi(0)disk(0)rdisk(0)partit ...Show All

  • Software Development for Windows Vista BUG?: Office Tools in Workflow Activity

    I've been creating custom activities for my workflow that make use of VSOT. Compiling, running or working with these activities open multiple copies of both winword and excel in the background without closing them, slowly eating up resources until they are closed manually. Activities make use of the Microsoft Excel & Word 11.0 Object Component Libraries with each making a new instance of ApplicationClass and or Document. Let me know if you want me to supply some code samples, glitch found using beta 2.2 I've just tried the same code in a console application with no problems so i do assume that it is either my code in the workflow activity, or a bug in windows workflow code as follows -------------------------------- ...Show All

  • Visual Studio Team System Please tell me that this has been solved in SP1...

    When you try to add a link from a work item to a versioned item in Source Control you may get an error "Unable to save all edited documents..." in Visual Studio. Someone said that this problem corresponds to a limitiation of the numbers of characters you may have in a file path (260 chars) but this happens to us in much shorter paths (around 100 characters). This is such a stupid limitation/bug which has huge consequenses on our project - please tell me that this has been solved in SP1 /Thomas Andersson I remember we working on a solution for this bug and I am checking with few people here to find if this was part of SP1 fix. I suspect it is not. The reason for the bug is because our source ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Generating Universe with System.Drawing.Bitmap before Xna.Texture

    Hi. I've done a code that can show a generated "constillations" (sp ) like in outer space, known as a "Star Generator" which generates stars in a bitmap. Here's the code which I'm about to show: YOu would probbly generate it as part of your build process and just import the artwork as a texture files. Or you could use a pointlist and draw the points like I did in the spacewar retro code. See retro/retrostarfield.cs Or you could use a pointlist to draw into an offscreen texture and use that texture. ...Show All

  • Visual Studio Team System Keep getting "is a read-only file"

    This is really a getting old...about 8 out of 10 times I get "myfilename.mpp is a read-only file" when I "edit" a document from within my workspace. This really sucks after I've made a bunch of changes to my project file, then try and save it. Lawrence, I'm sorry to hear that you are seeing this issue. This is due to a Sharepoint lock on the project file and we are investigating this to find a suitable workaround or solution. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=681914&SiteID=1 Appreciate your patience. ...Show All

  • Visual C# Need to kill a process gracefully

    I developed an application that kills a program then restarts it. The only problem is that the system tray contains two icons (or more depending on how many times the applicaiton is killed then restarted). I need to figure out how to either: A) refresh the system tray B) close the program gracefully (the process close() and process closemainwindow() do no work) or C) figure out a way in C# to move the mouse over the system tray programacally to force the ghosted icon to disappear. PLEASE HELP!!!! Thanks, Jason How are you killing the app I have used Sendmessage with WM_CLOSE in the past without problems (little "genter" when closing an app) Most methods that "kill" an app...do s ...Show All

  • SQL Server Dynamic table name in destination

    How to create a new table dynamically in OLE DB destination. This is what i am doing I am reading multiple flat files in loop and saving file name to a variable. Then i have a source script component which read and transforms data .Now how can I push the data to SQL table. I want to create a new table with name saved in a variable. I tried using OLE DB destination and assigning table name from variable. Does'nt work. Thanks in advance for any insight on how to make this work. -Amar I think you'll have to break this up into multiple work flows. The first executes an Execute SQL task in the control flow to create the table. Then attached to that Execute SQL Task is the data flow that operates ...Show All

  • SQL Server Filtering Measures by Measure Groups

    I'm trying to create scripts to convert foreign currencies. I would like to create the script so that the measures are not hard coded but would be specified by MeasureGroup, something like the following: Filter([Measures].AllMembers, Measures.CurrentMember.MeasureGroup = "Policy Measures") Is it possible MeasureGroupMeasures (MDX) Returns a set of measures that belongs to the specified measure group. Syntax MEASUREGROUPMEASURES ( MeasureGroupName ) ...Show All

©2008 Software Development Network