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

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

ryan101

Member List

zproxy
FassaBortolo
Deus23
progames25
Danny_W
timay
The_Individual
Zero_
Gangy
Faraz_Ahmed
dtjkgreen
AAtallah
Zoinky
nardev
David Törnquist
Musafir
Kannan.Perumal
CFIG
Kamii47
Sjas
Only Title

ryan101's Q&A profile

  • Visual Basic Maximize my screen

    On my small application that I am writing, I have turned the Maximize & Minimize buttons off and was wondering how I could set the Main Form to fit the entire screen whenever the Main_Load occurs. Can anyone help me here Thanks, QWERTYtech Okay, this is a program to track inventory. If you have ever been to best buy, you know how the POS (Point of Sale, aka Cash register) screen takes up the entire screen Sorry to user Best Buy terminology. I work there also. Well I want my program to launch and not allow the user to see the desktop. Hince y I disabled the minimize and maximize button. How can I make the program auto fit to the screen Thanks, QWERTYtech ...Show All

  • .NET Development Exception: DataTable internal index is corrupted: '5'. on ...

    Hi, I have a problem with bindingsource component in framework 2.0. I have a combobox bound to a bindingsource which is also bound to a dataset with 2 related tables and a datagridview bound to the same bindingsource. What I want to do is : When the selectedindex property of my combobox changes, the corresponding cell value must be changed in the datagridview. But although the value in bindingsource changes, datagridview does not display the new value. That value is displayed after I move the mouse over that cell and make it invalidate its region manually. Another error I caught is the one that you can see as the subject of my post. I do not know why i have that message when I try to change the property of ((DataRowView)mybindi ...Show All

  • Visual Studio Tools for Office Toolbox weird behavior!!!

    I am using VSTO 2005. I am working on an Excel Template. Suddenly the toolbox becomes disabled and prevents me from adding controls to the Excel sheet but it is enabled in regard to the taskpane. I reinstalled VSTO and it was enabled but now disabled again. Do you have any idea this is very urgent.... Thank you........ What are you doing immediately before the toolbox becomes disabled Also, after it becomes disabled, does it become enabled just by viewing a user control in design mode or perhaps a different worksheet Did you protect the worksheet(s) in the project This would prohibit you from placing more controls on to the design surface of a worksheet. Regards, Steve ...Show All

  • Windows Forms Data binding and Checkbox values

    Ok... I have a value in my Sql table called "Disconnected" is a bit type....0 for not being disconnected 1 for being disconnected, Now i have a checkbox in my windows form that will submit information on a product....if the Disconnected checkbox is checked how do i send that value to the sql db...I know the checkbox is a bool value so if its checked it returns true if not it returns 0 for false.......I know i can type cast a bool to a bit, so should i do that within a property or something anyhelp or any links on how to get this done will be most helpful!!! it should be: if (Convert.ToBoolean(IsDe) == true) { ... } ok, well since you are using a DataReader, what I suggested won't work. You will have to in this case ...Show All

  • SQL Server Expression-based Data Source + subscription = No-go?

    Set up reports to use expression-based data sources and everything works fine as far as executing and viewing the reports. The ConnectionString expression includes the credentials, and the "No credentials required" option is selected. Unfortunately, am getting this when trying to create a subscription for same report. WTF eportingServicesService!processing!3!12/20/2006-12:20:07:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Cannot create a connection to data source 'XXXData'., ; Info: Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Cannot create a connection to data source 'XXXData'. ---> System.InvalidOperationException: The ConnectionString property h ...Show All

  • Visual FoxPro sending email from VFP through MS Outlook

    We have the following code for sending email to Outlook. The email gets sent, but the font size is always 36 px or 36 pt (we tried both). None of the <cr><lf> show up. The email is one big paragraph. Can anyone help   Here is the code: LOCAL loApp, loEmailItem, cHex  lnsize = '"' + str(gaPointsize(Slcrm.nbodysize),2,0)+ '"'  cHex = ''  nDec = Slcrm.nColor    nPower = 8  DO WHILE nPower > 0       cHex = cHex + hexdigit(INT(nDec/16^(nPower-1)))       nDec = MOD(nDec,16^(nPower-1))       nPower = nPower - 1  ENDDO  lcColor=  '#' + RIGHT(cHex,6) * lcColor = '#' + strtran(Transform(GetColor(),'@0'),'0x ...Show All

  • Visual Studio Express Editions oranisation suggestion request

    In C, at least in my micro controller programming environment, it is easy to have a header file, with various routines contained therein, which is placed ahead of the main program. What do you do for c# do you add a raft of classes into Form1, or do it some other way I am concerned about reuseability, I guess (both within the specific program, and in other future programs), hoping that I can cut down on the number of keystrokes I need, in order to create a useful piece of software. Is there an on-line tutorial that is easily understandable that covers this sort of question Thanks, Best Wishes, Ray " I can't mark any individual reply as answering this question, it is an on going issue for me, but ...Show All

  • Visual Studio Express Editions ml64.exe

    At some point during installation of VIsual Studio Express (perhaps it was the SDK stage) you get a file called ml64.exe. Unfortunately the version I got was 8.0.40310.39, and can't handle SSSE3. Is there a newer version available someplace (and a newer version of dumpbin.exe) that is SSSE3-capable ml64 was installed during the platform SDK stage and that would be the latest version. I know that ml64 supports SSE2 but I'm not sure about SSE3. You should post in the C++ forums to see if they know the answer. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. NoSuitableGraphicsDeviceException was unhandled

    Let me just say at the outset that I know nothing about C# (yet) and am trialing the XNA beta to try and get into it. I do know VB and some C, however. Once I had everything installed, I tried a few example programs including the Spacewar project, but I cannot run any of them. They build fine, but I can't run the .exe, and it crashes and asks if I want to send a report to MS. If I "Start Debugging" instead, I get the error "NoSuitableGraphicsDeviceException was unhandled" on the "this.GameComponents.Add(this.graphics);" line. I have no idea where to even start. Is it my install My PC My hardware The program I'm trying to run Once I know the environment is actually working, I can begin the learning! ...Show All

  • SQL Server Saving a package to the package store vs. SQL Server?

    There must be a difference, but I don't know what it is. Can someone please explain the advantages and disadvantages of each method Thanks in advance. From what I understand of SSIS. You must have the integration services service/engine running in order to execute the packages. Otherwise, you wouldn't be able to connect to the service itself and run the packages. As for the MSDB vs. File System thing. Both are managed by the integration services engine, they're just different storage mechanisms. In SQL2000, I always stored my DTS packages in the MSDB. So, if my server crashed... to get all my DTS packages back, I'd have to restore the msdb in single-user mode and then they're popped back in. With SQL2005, we can store them i ...Show All

  • Visual Studio Express Editions CSV FILES AHH

      i have a daily output from a front end program that contains three fields in each record field 1 being unique. i would like help on a small vb script that will read yesterdays file ie c:\datayesterday.csv and store the last unique key then read c:\datatoday.csv and compare the last unique key giving me the records added in a third file containing all the fields that are in the records added ie c:\recordsadded.csv anyone help   Add a textbox, a button, and an openfiledialog to a form and try the code below: Public Class Form1 Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim oldf As String ...Show All

  • SQL Server Search Stored Proc

    Does anyone know a way to seach through all databases on a SQL 2000 server looking for a particular stored proc by name We use Microsoft Visual SourceSafe (actually version 6) which, for 12 developers and 4 DBAs (2 dev and 2 production), works just fine and, as a bonus, integrates with SQL Server Management Studio. Microsoft would probably want you to use their Team Foundation software: http://msdn2.microsoft.com/en-us/teamsystem/aa718916.aspx ...however in my opinion the pricing and complexity both mean that it is better suited to larger organisations than ourselves. There are several open-source source-control packages avaliable - I can't comment on these as I have no ex ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA Tutorials

    Feel free to check out any of my articles :) XNA - 2D Per Pixel Collision Detection [NEW] XNA - Custom Vertices XNA - Drawing Text in XNA XNA - Parallax Mapping [NEW] XNA - Playing Audio in XNA XNA - Rendering 2D Textures XNA - Rotating a Sprite XNA - Using Effect (FX) Files XNA - Using the Mouse XNA - Writing to Texture Surface ...Show All

  • Visual C# Class Arrays

    I was just wondering if any one could tell me how to declare an array made of a class, as the standard precedure does not work for classes, structs, ect. Thanks in advance. clarification: Do you want to declare array of objects If so, you can declare using the same way as other data types, for example: public class TestClass { private int x ; private int y ; public TestClass ( int x, int y ) { this .x = x ; this .y = y ; } } TestClass [] arrays = new TestClass [10] ; for ( int i=0; i < 10 ; i ++ ) { arrays = new TestClass ( someX, someY ) ; } hope that helps ...Show All

  • SQL Server Using SqlCeEngine to verify/Restore a database

    I have a compact pc program that uses a sql server database (sdf file). I want to check the database integrity when program starts so I added a call to veriy method of SqlCeEngine string dbFullName = System.IO.Path.GetDirectoryName( System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase) + "\NessDB.sdf"; SqlCeEngine engine = new SqlCeEngine("Data Source = " + dbFullName); engine.Verify(); The call to verify always returning false and when I call repair string dbFullName = System.IO.Path.GetDirectoryName( System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase) + "\NessDB.sdf"; SqlCeEngine engine = new SqlCeEngine("Data Source = " + dbFullName); engine.Repair(null, ...Show All

©2008 Software Development Network