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

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

Prabagarane

Member List

Ganesha LD
Dave987654321
UltimateSniper
Steve98796
Aamer
Keith Hill
neo2k
llap444
aquib
Basel_
Raphael Pina
Shahzad Yousuf
BuzzBar
cosimog
Victor D
Cyrus Chan
Evan Haklar
Moustafa Arafa
CLR_cn
mehdi1973
Only Title

Prabagarane's Q&A profile

  • SQL Server Where is Query Analyzer in SQL Express?

    I know that SQL Express includes a similar tool like Query Analyzer in the SQL Management Tool but I just can't find it. Would anyone kindly point it out please When you open Management Studio Express you can create a New Query a number of different ways. New Query is akin to Query Analyzer. Regards, Mike Wachal SQL Express team ---- Mark the best posts as Answers! ...Show All

  • Visual Basic Array of Buttons

    I want to create rows and columns of buttons in my code using an array. If anyone know how to do this please respond. I am not sure how to put a breakpoint on the ButtonClick. The button does not have a name, remember it is automatically created from an array. ...Show All

  • SQL Server Get current attribute in MDX in setting Dimension Security AllowedSet

    I have a user defined function with the following signature: Public Function GetAllowedSet(aHierarchyID as string, aCustomData as string) as AdomdServer.Set This function parses the custom data string and look for any member belonging to a hierarchy and return them as a set.  So for the AllowedSet of an attribute in dimension security, I want to pass in the current attribute's ID ([DimensionName].[AttributeName]).  Is there any way to get the current attribute via MDX   AllowedSet = MyAssembly.GetAllowedSet(<<CurrentAttributeID>>,  CUSTOMDATA()) What you need to pass to your stored procedure is the attribute hierarchy name, not the ID. The reason is because MDX ...Show All

  • Microsoft ISV Community Center Forums question about word automation(how to insert header)

    hello i am trying to develope an application for word automation.the application should generate a word document and need to insert a header into document.i have find the code from msdn and it works well.but i can't insert header.(i have found the code for inserting header from msdn too) but it doesn't wrok this is the code i user for header: foreach (Word.Section section in oDoc.Sections) { object fieldEmpty = Word.WdFieldType.wdFieldEmpty; object autoText = "HELLO THIS IS HEADER"; object preserveFormatting = true ; //section.Headers[Word.WdHeaderFooterIndex.wdHeaderFooterPrimary].Range.Text section.Headers[Word.WdHeaderFooterIndex.wdHeaderFooterPrimary].Range.Fields.Add( ...Show All

  • Visual C# Custom Button Background

    I hope I'm just missing something basic. Is it possible to have a custom background (say, gradient) for a System.Windows.Forms.Button without having to do *ALL* the drawing yourself. OnPaintBackground does not appear to be called; the paint code for Button appears to be integrated with it's background logic. Well, you could have a gradient bitmap that you could pass along to the BackgroundImage property and you wouldn't have to do any painting. You'd just have to create the gradient bitmaps with a paint tool and add them to your application. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. 2d Platforms

    I understand it'd be pretty difficult to help me with a problem with me just describing it, without seeing code so... http://skynes.tripod.com/TheWizard.zip There's a link to a zip file containing my XNA project and all images. The Project so far is a mix of a couple of tutorials I found online (2d wizard and a tile engine) along with sprites I found online. I haven't made any of my own sprites yet cause I don't see the point until I have everything working, but I will be using all my own original sprites when it works. Anyway. So far it's a wizard who can jump and shoot fireballs. An enemy (movement currently commented out) walks across the screen, firballs dont do anything yet, but touching the enemy costs you a life. M ...Show All

  • Visual Studio Express Editions combobox menu

    Hi. I have a problem with my combobox. I created one combobox with values: Select department Freezing Warehouse Labeling etc when you click on one of the departments this combobox change its values to values from selected department. Now at the end of the list I have "Back..." and I want user to go back to first combobox (Select department) after clicking it. How can I do it My code: For count = 1 To 5 If ComboBox1.SelectedIndex = count Then If count = 1 Then ComboBox1.DataSource = MaintenanceDatabaseDataSet.MachineTable If count = 2 Then ComboBox1.DataSource = MaintenanceDatabaseDataSet.MachineTableWarehouse If count = 3 Then ComboBox1.DataSource = MaintenanceDatabase ...Show All

  • Visual Studio Express Editions Native MessageBox(): error c2440

    hi... I have this code in Main.cpp:   Digital Mind wrote: hi... I have this code in Main.cpp: #include <Windows.h> int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,     LPSTR lpCmdLine, int nCmdShow) {     MessageBox(NULL, "Hello", "World", MB_OK);     return 0; } How can I compile it Thanks a lot... The advice about Unicode is correct.  Another way is to change the constants to Unicode - L"Hello", L"World"  and to use wchar_t instead of char when declaring string data. It is a matter of whether or not you want to learn to make Unicode Windows applications (the default in VS 2005) or continue to make non-Unicode appl ...Show All

  • Visual C# Attribute Problem

    Hi all, I have the following problem with using attribute. I declared an attribute class (MyAttribute) with a list of properties. That attribute class is in its own dll. Now I have another class (MyClass) that referenced this attribute class. Everything works fine. But now, I want to add additional properties to the attribute class (MyAttribute). It seems that any new property I added to (MyAttribute) is not recognized by (MyClass). Another test I did was simply adding the new property to (MyAttribute) and use reflection in (MyClass) to simply list out all the attribute property, even that errors out. For some reason, it seems that once i declare an attribute class, I can't add or change it. If I add or change anything, the program t ...Show All

  • Windows Forms Unreachable Form objects between methods

    Hi, I have a problem with printing text in a textbox of my application. When I want to print what has come to my serial port I can't use my text box, and get a Not Supported Exception with this stacktrace: at Microsoft.AGL.Common.MISC.HandleAr() at System.Windows.Forms.Control.get_Text() at System.Windows.Forms.Control.set_Text() at DevApp.Form1.serialPort_DataReceived() at System.IO.Ports.SerialPort.CatchReceivedEvents() at EventLoopRunner.CallReceiveEvents() at WorkItem.doWork() at System.Threading.Timer.ring() This is my code: public Form1() { InitializeComponent(); } public void connectButton_Click(object sender, EventArgs e) { serialPort.Open(); textBox1.Text = "Port opened"; ...Show All

  • Visual C++ Running problem with a C++ executable (Debug build)

    Hi, I produced a debug build C++ executable program using MFC in VS 2005. The program runs perfectly with the computer in which it was created, but it can't run with other computers that don't have similar development environments but are equiped with all necessary dlls. An error message saying configuration is incorrect appears whenever the program is launched. MFC is set to be used in a shared dll in the program. To locate the reason that causes the problem, I blocked each possibly relevant environmental component in the system, such as .NET, Visual Studio, and directories containing libraries that were linked into the program. Despite these, the program runs normally in the computer where it was created. Should anybody have any ideas ...Show All

  • Visual Studio Express Editions Need value of a textbox

    I have the following piece of code. Dim offPlayer as Integer TextBox39.Text = "txtHome" & offPlayer & ".text" In my example, offPlayer is 8. I would like textBox39.Text = txtHome8.text. It currently puts in the string "txtHome8.text" and not the value. Please help. Thanks, Doug Looks like you're missing a "y" in offPlaer... Be sure that you actually have a TextBox control on the form that is named txtHome8 when offPlayer is 8. ...Show All

  • Visual Studio 2008 (Pre-release) WPF deployment on another XP sp2

    i've developed a wpf window application on a development machine then i've copied the compiled file in app/to/bin/debug/ to an new xp sp2 pc with installed .net 3.0 runtime when i execute them it gives me windows error message. this application reference to softwarefx.com chartfx for vs2005 only my question is what is the prerequisites for a xp sp2 machine to run a wpf application If you downloaded the final retail build of the .NET Framework 3.0 redistributable , there should be no other prerequisites for the XP SP2 machine. You might check in the WPF forum where folks are discussing the WPF framework itself (this forum is for the tools side) for additional information, maybe searching with the actual error message you saw when ...Show All

  • Visual Studio Express Editions How can I add strings from Module to collection ?

    I have a module with around 200 string variables in it. I'd like to add these strings to a collection so I can easily iterate through them but is there an easy way to add them without having to type them all in one by one This is where planning you application is important . How do you really want to 'store' these strings There would be several ways to do it; it all depends on what you have in mind. You could copy the strings to a text file and read the text file at application startup, adding each line to the collection this means you will need the file added as a resource our distributed with your application. This is just one suggestion based on what you have. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. 3D Playing Cards ?

    How would I approach a 3D representation of a playing card(s) If using a model, would 52 different models be required so that each card has it's own texture Can user primitives (i.e. 2 triangles to make a card shape) have different textures on each side What would be the best method for this errolian wrote: Bill , yes you are right as always. I know about objects and instancing. What I don't know is the best or indeed any method by which you can use a single model and use different textures for the face and back of the model for each instance. Fluxtah , shaders I know very very little about so maybe someone who does can answer that part of the question. You can use one model, and use a ...Show All

©2008 Software Development Network