Software Development Network Logo
  • Visual Basic
  • SQL Server
  • Visual C++
  • Game Technologies
  • Smart Device
  • Visual FoxPro
  • Architecture
  • Microsoft ISV
  • Visual Studio
  • Windows Forms
  • Windows Live
  • Windows Vista
  • VS Team System
  • Visual C#
  • Visual J#

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

Spamsickle

Member List

tom__ro
Nicolae Moanta
AlbertoD
tzvikab
Chinpokomon
russian
lfunk3
Shoukhat Khan
Susan Still
Julie Knibbe
Thesp
Yogi Verité
Priya Lakshminarayanan
Matt Nicholson
supermorph
Caged
NickNelson
M Eslinger
Prasad.k.
dimondlight
Only Title

Spamsickle's Q&A profile

  • Visual C++ Char* dynamic allocation??

    Theoretically, after use dynamic allocation we should use "delete" as below. However, I got a error message like this: **************************************** Debug Assertion Failed! Program : C:/hello.exe File: dbgdel.cpp Line: 47 Expression:_BLOCK_TYPE_IS_VALID(pHEAD->nBlockUse) **************************************** int main(){ char* s1 = new char[30]; char* s2 = new char[30]; char com[40];  cin.getline (com,40);  while(strcmp(com,"exit") != 0){         if(strcmp(com,"help") == 0){      sayHello();   }//end if   else{    s1 ...Show All

  • Smart Device Development Dataset to SQL Mobile database table bulk insert

    Hi, I developed a application to synchronise the data from sql server 2005 to sql mobile 2005 using web service. Webservice returns dataset, so currently i am inserting row-by-row data into sql mobile database, which is taking a tremendous amount of time. Can anybody suggest me how to add bulk data from dataset into sql mobile. Thank you, Prashant You could use RDA or replication for that. Note: using RDA or replication won't change number of SQL Server 2005 CALs you need compared to WS as each device accessing SQL Server 2005 directly or indirectly (e.g. via WS) needs CAL anyway. ...Show All

  • Windows Forms Calendar control help

    I need a month calendar control for a WinForm application (.NET 1.1). It needs to have the following functionality: 1) display multiple months 2) display and select multiple disconnected ranges across months 3) I need to be able to customize the days that display in each month. For example: Jan (Jan 1 - Jan 28), Feb (Jan 29 - Feb 25), Mar (Feb 26- Mar 25). 4) use the same control in a date time picker capacity. (This is not a big deal since I could just create a composite user control to handle this.) If you know of a good calendar control that can accomplish #1 and #2 and comes with the source code so that I could a ...Show All

  • Visual Basic Shell method causes the error "VBX Library init failure" on some machines

    Hi, I have been dealing with a problem for the last few days. An error which can be traced to a single line of shell method shows up on a pc other than mine(non development). The error is a dialogue box stating: "VBX Library init failure" The funny thing is the error can be avoided if before executing the shell, a file browser window is activated and a file is selected. Any help to make shell work on all machines would be greatly appreciated. Hi Paul, Thank you for the reply. I am using VB 2005 express edition version 2.0.50727 . It is a .NET Framework. ...Show All

  • SQL Server SSAS 2005 on Windows XP?

    Can someone confirm that SSAS and SQL Server 2005 can run on Windows XP I know Developer runs on Windows XP. This is what I use for development. I would like to confirm for Standard since this is what our application will be running on. ...Show All

  • Visual Studio Auto pin to latest version?

    When I change a file an old version and check-in, and the file is not branched in new version. If I get latest version in new version, it will return the version before I edit because it is not pinned to the latest version. does it able to auto pin to latest version when I commit changes in old version Or I need to pin it to latest version manually for each file I changed Thank you very much! Hi Barry, I am kind of confused on what you are trying to do. Are you saying that the old version that you modified was originally pinned Because if you are, you shouldn't be able to check out -> modify -> ch ...Show All

  • Smart Device Development Possible to write my own UITypeEditor or use existing in the CF?

    What I'm trying to accomplish is a MultilineStringEditor on the design time properties window. It should look just like the Label control's text property or textboxes's text property, when you click the down arrow a box pops open that allows newlines. I now know how to use the MultilineStringEditor in the regular framework, but the System.design.dll doesn't exist in the CF ( ). So I decided I could just write my own, however.. the System.drawing.dll in the CF doesn't seem to have the System.drawing.design namespace with UITypeEditor which I need to extend to write my own editor. Should I just accept that I'm using the CF a ...Show All

  • Visual Basic Issue with code coversion from C# -> VB

    I converted the code end when i run the program it gives me the following error: "Method 'System.Windows.Forms.Cursor.handle' not found." How can i correct the code Private Sub picPencil_MouseDown( ByVal sender As Object , ByVal e As System.Windows.Forms.MouseEventArgs) Handles picPencil.MouseDown Dim curCursor As Cursor = New Cursor( "PencilBW.cur" ) Dim ColorCursorHandle As IntPtr = LoadCursorFromFile( "PencilC.cur" ) curCursor.GetType().InvokeMember( "handle" _ , BindingFlags.Public & BindingFlags.NonPublic & BindingFlags.Instance & BindingFlags.SetField _ , System.Type.DefaultBinder, ...Show All

  • Windows Forms Can the position of a tabpage be changed?

    I want to put tabpage5 where tabpage2 is now.  Is there any way to do it dennist The order of items in the TabPages collection on the TabControl.  You can edit this in Visual Studion by opening the TabPages collection editor in the property grid when the TabControl is selected.  Hope this helps.  - mike ...Show All

  • SQL Server Cannot Remove SQL 2005 June CTP

    I have SQL 2005 June CTP installed and running. I previously had VS 2005 CTP installed as well. I removed VS with the beta removal tool and installed the release version. I am now trying to remove SQL and cannot do it. First I tried Add / Remove programs. I chose remove for SQL 2005 and it removed the entry from Add / Remove programs but did nothing else. I then tried the beta removal tool sqlbuw.exe on the CD which detectes 3 instances of SQL 2005 but when it tries to remove them it says "There are no SQL Server 2005 or .NET Framework components to uninstall. You may now run the setup wizard to install new instances." When I run the setup w ...Show All

  • Windows Forms Deploy chm file with click-once

    I'd like to include a chm file with the application that I am deploying, but no matter what subdirectory of the project I put it in I can't seem to get the file to be included in the deployment. The help file does work correctly from my application on the development machine where I have it located in the project bin directory. Right now, my deployment is just to a directory from which I burn a CD. Thanks, jerryK Have you changed the BuildAction property of the file to "Content" I think that's about all I did to get it to work.   ...Show All

  • Visual C# handling events from EventControl by Form

    How the form can see that I clicked a button on UserControl (so I woud like to see it on Label for example...). I tried to write a special event for it because I think that I do not have any access to Buttons. I thout that by writting event which return a button name I can get it by using Click event on Control and than pass to it the event wroted for UserControl, but when I clicked the button I realized that click event for UserControl is not used (it is handled when I click a Control - not button) Thanks a lot for solution. Michal. You can create a custom event on your usercontrol, which you invoke when this button on your Use ...Show All

  • SQL Server Performance hit of stored proc in separate db

    We are thinking of putting all of our report stored procs in a single database separate from the data. The stored procedures would be accessing databases on the same server but in a different database. I am trying to assess what the performance impact would be or if there are any other drawbacks. ...Show All

  • Visual Studio Team System build alerts

    how to alert only when the build failed Hi, We do not have this feature as an out of the box option, but you can tweak Team Build a bit to build this functionality. There are 2 options: 1. You can add some http://site to receive notification on build completion and then that site can get subscription and send out email only on build failure 2. You can write an MSBuild task to send email to the subscribers and insert that in the OnBuildBreak target. This task is invoked only on build failure. Please let us know if this helps or if you have any more qs. Thanks Anu ...Show All

  • Windows Forms Cancelling the Validating event

    Hi, I have an MDI app that opens an MdiChild form where I have some TextBoxes and I run some Validating logic. I use the ErrorProvider control and the Event Validating over the TextBoxes. It all works fine, except that 'while' I still don´t have all my TextBoxes validated I just 'CAN´T' close the MdiChild form neither by clicking in the  ...Show All

©2008 Software Development Network