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

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

RustyBadger

Member List

garyf
Werner Clausen
xr280xr
hijk
Shadi Mari
Chrisull
Young_Bai
MMMalik
Nigel123
michaelmwelch
scorpion007
nbrege
Pradeep Gupta
Summoner
Daffodils
toffyrn
Mike3983
Alexey Shirshov
Jeremy Corson
Ben Weber
Only Title

RustyBadger's Q&A profile

  • Windows Forms Form to Form

    Hi I am trying to change label text the form1 to form2 and the form2 to form1. I don't know to do it. I use C++/CLI 2005. Any idea I have it #ifndef ControlWindows_h #define ControlWindows_h namespace ControlWindows { using namespace System; using namespace System::Windows::Forms; ref class CWindows { static Form ^WindowsX2; //static Form2 ^WindowsX22; // ERROR static bool X2Status = false; public: // FORM2 static void ShowFormX2(); static void CloseFormX2(); static void ChangeCaptionX2(); static void MngVentanaX2(Object ^Obj); }; } #endif ...Show All

  • Visual Basic Line Drawing: STILL not working as I want it

    Dear all, despite my previous mail, I still have big problems with line graphs. I posed a Q some time ago on line drawing ( Can I set userscale of picbox, like possible in VB6 ), got some answers, but not the ones I need. Task: drawing a line graph of some variable that changes over time. The graph will contain 10^8 or more data points. I used to do this in VB6 in a picturebox. First I defined the scaling as userscale: leftbottom=(0,0), top right = (1,1) picbox.scalemode = 0 'userscale picbox.scaletop = 1 picbox.scaleheight = -1 picbox.scalewidth = 1 and then, using line(x1,y1)-(x2,y2),vbcolor I could simply add the additional data points by drawing line segments from the previous point to the curren ...Show All

  • Visual Studio Express Editions Always Round Up in Visual Studio 2005

    Okay Ive gone threw the forums many times and I have yet to find a clear beginner answer. I would like something that has any number that has a decimal to round up..no matter what the number/decimal is. Sorry if I sound rude Im just a little bit annoyed and not being unable to understand a lot of this. Something like the following should work Module Module1 Sub Main() Dim x = RoundUp(1.1) Dim y = RoundUp(1.9) Dim x1 = RoundUp(2.1) Dim y1 = RoundUp(2.9) End Sub Function RoundUp(ByVal Value As Double) As Long Return Fix(Value - (Value \ 1 <> Value)) End Function End Module ...Show All

  • Internet Explorer Development IE7 icon Problem

    Firstly, let's clear up the icon definitions. Favicons are those that are downloaded from the linked website and show the websites logo or whatever. The icons that we are all concerned with here in this fourm that are in error are the windows icons. These icons along with an array of others are usually contained in system dll files. Indexes into these files are kept track of in the registry and in the shortcut or favorite itself under properties. For example if the dll has 256 icons and windows calls the dll as shell.dll, 255 the 255 is the index into the icon file. In this case the last one (base 0). The problem here is with IE7. The registry entries under HKEY_CLASSES_ROOT (url and internetshortcut) appear correct. I ...Show All

  • Visual Studio Express Editions After program built, no wav file.

    This is strange, I added a .wav file to my resources, and the .wav files plays fine when in running the program. But, when its built it just makes the normal "Beep" sound, instead of the .wav file. How come did you actually import the file or is it a local file That's important. I hate to suggest this but your form should have a .resx file and you should be able to check and see if you have a wav file included as a resource. ...Show All

  • SQL Server Losing config file between child packages and *$##@!- Passwords!

    I have a parent package that uses Execute Package Task against three child packages. They are all setup to use the same configuration file, and the packages are all located in the same folder. Purpose of the configuation is to use the same connection strings for each child package. I removed the path from the config. file specification to facilitate deployment. During debugging, the child packages cannot find the config file when they are run via the parent unless the full path is specified. If run standalone, a child package can find the config. file without the path. As I said, all dtsx filaes and the config file is in the same folder. Also, the password-removal issue is killing me in development. Everytime I touch the config. f ...Show All

  • SQL Server Select Data on Multiple Tables

    The table Schema Employee: primary key (EmpID) EmpID EmpType EmpName EmpSalary 101 0 Kumar 110 102 0 Anit 105 STF001 1 Mohan 6000 STF002 1 Malar 5500 Here EmpType 0 = Worker and 1 = Staff Attendance : primary key (AttnEmpID) AttnEmpID EmpType EmpName AtDate Status InTime OutTime 101 0 Kumar 01/02/2007 0 8:00 AM 6:00 PM 102 0 Anit 01/02/2007 0 8:00 A ...Show All

  • SQL Server Issue when exporting to Excel

    Hello I have created a SRS report which I export to Excel. I have noticed that Excel has added additional columns and the data appears to be overlapping. (link to screenshot below). When I attempt to create a pivot table from this data, I receive the error: "The pivot table name is not valid. To create a pivot table report, you must use data that is organized as a list with labelled columns. If you are changing the name of a pivot table field, you must type a new name for the field. What have I done wrong http://www.adlibsoftware.com/KATHY/excel_output.bmp I think the problem is related to merged cells. When exporting, the Excel renderer tries to recreate the report visually as closely as possible. To arrang ...Show All

  • Windows Forms Visual Studio 2005

    Hi All when I am trying to discover visual studio 2005, I got a strange behavior when I am trying to put about 50 button on the form and run the application it makes some flicking in the startup I tried to avoid flicking by using DoubleBuffered, see this class InheritedButton:Button { public InheritedButton() { this.DoubleBuffered = true; } } and I had used InheritedButton instead of button also makes the Form itself support the DoubleBuffered and still flickers!!!!!!!!!!!!!! You got some buttons there for a single form., although this is not a limitation, it probably is the reason for your form's flickering when displaying all the buttons, especially because your buttons is DoubleBuffered and maybe owner drawn. What happen if ...Show All

  • SQL Server Usage question - running SSIS packages remotely

    Hello, I currently use DTSRun to run packages on my scheduler box. I would like to use the same set up to run SSIS packages. Is there any way to duplicate this without installing SSIS on my scheduler box Can I specify the server on which it should run Just don't want topurchase another license, if possible. - Dave- No. You can only run dtexec.exe locally. Although perhaps you could use rexec.exe to execute. I've never tried that. What scheduler are you using Can you not run the scheduler on the samebox as dtexec.exe -Jamie ...Show All

  • Windows Forms Opening / Closing Forms

    Hey guys, Really simply, how do you open forms when you click a button! ! (i.e. in VB its docmd.open 'Form'). I just want to click a button and it pop up another form i have designed. Thanks in advance Tom   Matthew Watson wrote: form.ShowDialog(this); (The parameter to ShowDialog() is made the parent of the form which is displayed. Since you will be calling this code from a button handler in the parent form, "this" is the correct thing to pass in.)   form2.ShowDialog( this );   is exactly the same as:   form2.ShowDialog();   (The default owner (not parent) is the current active window, which is 'this'). Interestingly, even if you pass the ...Show All

  • Internet Explorer Development Customizing Toolbar in IE7

    I am having a small problem. I have TWO search boxes on my browser.. One for Google toolbar, and the one that was originally there on IE7... I set my default to google. I cannot find how to get rid of the original search bar (to the right of the address bar) and just keep the google toolbar search box.. There is no option that I can find to just have the top row be an address bar..Any suggestions.. I cant even tell google toolbar to take away its search box, it is automatic.. It is ridiculous to have TWO search boxes on the toolbar.. Anyone know a way I've tried everything I know.. Thx JP If you ask me, you get less options with the new, and not being able to remove stupid features (search bar)  ...Show All

  • Windows Forms Using Animated Gif image in C++/CLI

    Hi, I'm trying to use an animated gif image in a form within C++/CLI. I looked at picturebox control but the image stay still, no animation. I browsed the NET to find any clue to my problem and got a few articles stating the fact that I have to make somekind of class that would rather display one at a time each frame found in my GIF. Any clue or easier way, any example on how to do it Thanks in advance, Stephane Hi,   First, many thanks for replying.  I read about ImageAnimator but couldn't find it while I was in FormDesigner or within code. Intellisense didn't seem to know about it either.  When you say "complete version of .net framwork", what must I install to have a com ...Show All

  • Visual Studio Team System Customize MSF Process template

    Does anyone know where to download the MSF customization tool The tool has GUI that allow you to customize the MSF, instead of you edit the XML files one by one. I think you refer to the MSF Process Guidance tool, you have two options for editing: AS you say, edit the Xml files one by one. Open template2.xsn with infopath and edit it and at last you will need MSFWinBuild http://www.gotdotnet.com/Workspaces/Workspace.aspx id=c0ce8992-2955-4371-904b-1f93a9efffe6 to render the HTML files for the Process Guidance If you refer to the workitem types and so on, then download what Sagar says, and also I would recommend you download Visual Studio 2005 SDK to have more documentation about this. ...Show All

  • Visual Basic TextBox to String

    I am just beginning to explore VB2005, and I can see I have a lot to figure out, and haven't been able to find any really good instructional materials on the same, so please excuse the elementary questions I have here. How do I convert the text in a bound TextBox to a string I have the following Public Class Form2 Dim TextBoxText As String ..... (form load etc) Private Sub ACCT_NOTextBox_TextChanged( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ACCT_NOTextBox.TextChanged TextBoxText = ACCT_NOTextBox End Sub But I get an error indicating Error 1 Value of type 'System.Windows.Forms.TextBox' cannot be converted to 'String'. I have many other questions as wel ...Show All

©2008 Software Development Network