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

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

sticksnap

Member List

NeelTiwari
M. Nicholas
lushdog
Raj Deep
Jaime Oro
orangejuice
qt1h00
Redburga
Tom Hallmark
Fox3
saju
Iago
Muricy
Mike Hadlow
partha mandayam
TheMaj0r
Cem Usta
Izzo
mpco
fhunter
Only Title

sticksnap's Q&A profile

  • Visual C++ native C++ to CLI

    I am having some code written in C++, I want the code to be managed though, or the interface managed at least. The author has no experience with CLI (I have no experience with either!) and I want to persuade him to go this route. It seems to me that if the /clr switch is set and because of “It just works”, then he can pretty much retain native style programming techniques. I am right about this If not is it that much of a learning curve to adopt CLI Thanks for you help in this matter Julian Yes, the /CLR switch will compile your native style code into a mixed image of native & managed. Before moving to C++/CLI, it would be great if yo inform us about t ...Show All

  • Visual Studio Express Editions Running Application across network???

    I have built several applications mostly small ones that allow me to automate tedious tasks. The common problem with all of them is that I can not run the application from a network share or across the network. If I click on the EXE then it just gives me an internal error message and closes. Is there something special that needs to be done in order to run an application across a network share. Running them from a share. 1. Are you trying to run them on the share machine from a client machine or 2. Trying to run a application deployed on a network shared on various client machines. I would suspect that its 2. In which case look at click once deployment which allows you to publish you application to a network share, ...Show All

  • Windows Forms Control.Leave() is not called when a user selects a ToolStripItem.

    I have a form that contains TextBox controls that the user enters data into. In the TextBox.Validating() and TextBox.Leave() methods, I validate the data that the user entered. This works fine when selecting other TextBoxes on the form. The problem I am having is a user enters data into a TextBox and clicks on a Save button in the ToolStrip or a Save menu item in the MenuStrip. The TextBox.Leave() and the TextBox.Validating() methods do not get called when the focus is given to the ToolStripItem. According to the MSDN documentation on the Control.Leave() method, these calls should happen when the focus goes to the ToolStripItem. Can someone please explain why this does not happen, and if there is a workaround Thanks, Doug ...Show All

  • SQL Server Cube Deploy Error

    Hello, I'm trying to deploy a cube on Analysis Services and I'm getting the next error: Errors in the OLAP storage engine: The record was skipped because the attribute key was not found. Attribute: DSAP PRODUCTO of Dimension: DSAP PRODUCTO from Database: SAPIN_BI, Cube: Sapin BI Dllo, Measure Group: DSAP COMBOS, Partition: DSAP COMBOS, Record: 1. I'm sure the data is consistent and has integrity.... and I verified It ... Could you please give me a clue What do I have to post or which script do I have to send you Thanks a lot ! Sorry if I interfere. Have you added a new column to your fact table lately that was not in the processed cube initially If you use query binding for the partition(s) th ...Show All

  • Windows Forms help with Location Property

    hi all. on my form i have a pannel control -- panel1. on panel1 i have a second panel - panel2. on panel2 i have a text box. i want to know the textbox location in relation to the form. if i just ask for it's location,i'm getting 4,10 , but it's related only to its direct container - panel2. There is no direct way to get this as all controls are placed in .Controls collection. you will have to loop up until you get to form control and increase X, Y for each parent control something like Control parent = this .Parent; Point p = ctrl.Location; while ((parent.Parent != null )) { parent = parent.Parent; p.X += parent.Location.X p.Y += parent.Location.Y } P.S I thik parent.Pare ...Show All

  • SQL Server package configurations

    Hi, i keep struggling with dtsconfig. i have 4 packages which all have the same datasource based on the global-datasource. is there a way i can save that global-datasource, instead of configuring all 4 packages to use a config-file that is what i am doing. the problem is that there is no way to set up a global datasource to use a variable, or so it appears. That forces you to either: 1) create a new connection each time and configure it to set the connection string from a variable (expression) 2) use a global datasource then modify the actual connection created from it to set the connection string from a variable (expression). ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Creating 3d Sprites slow down Device.Disposing...

    hi, in my game, the particles that i create are slowing down the Device.Dispose(); the object Disposing in my game is done by the following steps: 1. the object dispose its vertex and index buffers, and set a IsDisposed boolean to True; 2. the Game read all Objects and set to null the disposed objects; when the game closes, before the Device.Dispose() it Dispose all the textures, the effects (my textures and effects are shared for memory reasons) and the objects. my debugging leads me to the conclusion that the objects remains after the .Dispose()... why per Sprite: 1 Vertex Buffer with a Quad data 1 Index Buffer with the Quad's indices ( 6 ) Look for its texture in the TexturePool, if not there Load it. b ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Writing the screen back to itself

    Hi chaps, just started playing with the XNA studio, and its top banana. 2D graphics are proving straightforward, especially as blitting, clipping, rotating and scaling sprites is so easy. Now I have a little question. - lets say I want to grab the screen as a texture so I can write it back to itself, but with more transparency - ie do the classic full screen feedback blur beloved of so many mp3 players and Squaresoft games - what is the best approach ie - how do I turn the screen into a texture. and how do I access the alpha channels on a per pixel basis so I can increase all the values in this new texture Or is there a better way to do it, for instance with tinting or some other shortcut Any help much appreciated. I've only been co ...Show All

  • .NET Development Nesting data from a excel sheet and update data to a sql table row by row.

    First of all I am new at ADO.NET. but I have some knowledge by reading a book and doing exercises. I have a solution where I read a row of data from an Excel sheet using excel inetrop code in VB2005, not using VSTO. I let user register large amount of data in a excel sheet and validate end then update. Program STARTS >>>>> = > Open and Excel ready to read mode -(Late binding) = > Open Database (Check that the database is open. do = =>Red a excel row validation on field level of each row == > Update SQL DB with SQL Command object ( one row) excelRow = Excel row +1 (Move to text row.) Loop until excel sheet is empty Progran Ends >>>>>> ...Show All

  • .NET Development another timer question

    Hey, I'm developing a program to calculate satellite orbits, and some calculations need to be done each second, others each day. For that I'm using System.Timers.Timer class. This program is going to be running for a long time, sometimes even months. Question: isn't this a bit dangerous I mean, having a timer running for this long time always counting up Any suggestions Thanks I believe you may find some of your objects would be disposed if it is not being used but as well as this, having a timer interval set to every second (1000 ms) would be really bad. If you must, try to make sure the timer interval is set to the true interval you require as close as possible. ...Show All

  • Visual Basic Adding list items from delimited text file

    Back again with another Noob question.  My form will ammend user's input via text box to a delimited text file, but i want to get the info from the text file to show up in a listbox.  How do I accomplish this I already have the listbox on my form and have tried ... My .Computer.FileSystem.ReadAllText( "C:\Entries.txt" ) and Private Sub ListBox1_SelectedIndexChanged( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ListBox1.SelectedIndexChanged Dim filename As String = "C:\Entries.txt" Dim fields As String () Dim delimiter As String = "," Using parser As New TextFieldParser(filename) parser.SetDelimiters(delimiter) While Not parser.EndOfData ...Show All

  • Visual Studio Express Editions Using Properties and sub-properties?

    Hello, i made a property which is not hard to make, at the moment i have: Dog.Bark; But now i want another properties IN bark, like: Dog.Bark.Loud; Dog.Bark.Soft; i know it is possible, because the standard Coordinates, contains X,Y those are sub-properties to. I hope someone can help me, | Very much thanks, Chris Start a new thread. Your question has nothing whatsoever to do with the original topic of this thread. ...Show All

  • Commerce Server Handling Refunds.

    Does commerce server support Refunds in built,some thing like a RefundPipeline in which we can add our pipeline components to compute refund. Thanks There's nothing built in to Commerce Server, although writing custom pipeline components for this is probably the best approach I can think of. Nothing presently exists because this sort of thing is largely the responsibility of your payment ISV to handle, whereas the only thing you can really do on the site is update the order status/lineitem status (dependent on whether you want to refund the whole order or individual line items). The implementation of this sort of thing can vary dramatically between Payment ISVs (such as CyberSource, PaymentT ...Show All

  • Visual FoxPro Why tooltips won't work for Expressions?

    I've noticed that tooltips won't work for expressions. I'm refering to the tooltips VFP provides when the with of the column is smaller than its content. Is there a way to make tooltips work for column1 in the grid below Public oForm oForm = Createobject('MyForm') oForm.Show Define Class MyForm As Form Width = 420 Height = 460 showtips=.T. Add Object grd1 As Grid With ; left = 10, Top=45, Width=400,Height=200,RecordSource='Orders' Procedure Load Use (_samples+'data\orders') In 0 ENDPROC PROCEDURE init thisform.grd1.column1.controlsource= "('The quick brown fox jumps over the lazy dog')" endproc Enddefine I don't know why. It sounds the ...Show All

  • SQL Server Self referencing cube for side by side comparison

    A portfolio and a benchmark have the same structure. Every portfolio has a related benchmark to which it is compared. Many securities are shared between the portfolio and the benchmark. When you look at the portfolio from various dimension combinations the user wants to see what the corresponding benchmark looks like from the exact same dimensions. My DimPortfolioBenchmark table is linked to my FactPosition table. A portfolio is compared to a benchmark so each portfolio has a PortfolioBenchmark key indicating the benchmark it is compared to. When I pull up a measure for the portfolio I want to see the corresponding measure for the benchmark (or at least for certain selected ones). I was trying to do this in a calculated field. Wha ...Show All

©2008 Software Development Network