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

Software Development Network >> rod 001's Q&A profile

rod 001

Member List

warning9
mpipe again
Rhubarb
Jawad Naeem
Martin Masse
rsws
Dan-Teklynx
Smealum
Spangltk
ljCharlie
Uturn
Kate Boothby
micah1990
PolkaDance
rSchild
Shilei
S_Mayu
Raffaele Rialdi
mike11d11
jenjen13
Only Title

rod 001's Q&A profile

  • Windows Forms Designer error

    I recieve the following set of errors in the designer tab when I try and compile my program. I am new at using Windows Forms. I know you are not supposed to write code in the automatically generated code, but I don't know where else to put it. Could this be the problem C++ CodeDOM parser error: Internal Error Hide at Microsoft.VisualC.CppCodeParser.OnMethodPopulateStatements(Object sender, EventArgs e) at System.CodeDom.CodeMemberMethod.get_Statements() at System.ComponentModel.Design.Serialization.TypeCodeDomSerializer.Deserialize(IDesignerSerializationManager manager, CodeTypeDeclaration declaration) at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.PerformLoad(IDesignerSerializationMa ...Show All

  • Windows Forms Creating my own TabPage class

    I have a tabcontrol on a form. If I add tab pages and add controls to them in Visual Studio the controls become members of the main form and the main form will also handle all events from all controls on all tab pages. I want to create my own TabPage class that handles everything that happens in the TabPage to avoid having all code in the main form. I created MyTabPage class by adding a new Component to the project and changing the base class to TabPage. I am able to drag stuff from the Toolbox onto my TabPage in Design mode. In the designer for the main form I added another tab page to the tab control and changed the type from TabPage to MyTabpage in the main form code. However, I am not able to see any controls in the tab when I ...Show All

  • Smart Device Development Doublebuffer in UserControl

    Hello, I am getting the following: Error 1 The name 'SetStyle' does not exist in the current context C:\test\myclass.cs 38 13 When I do this: SetStyle(ControlStyles.DoubleBuffer, true ); Can't you double buffer in the compact framework using C# Greetings: I've been trying to implement your advice, but all I'm getting is a panel with a disturbing background. I'm using VB.Net, VS 2005, and the version 6 SDK. Here's my usercontrol with the suggested override: Public Class PicturePanel Inherits Panel Public Sub New () End Sub Protected Overrides Sub OnPaintBackground( ByVal e As System.Windows.Forms.PaintEventArgs) End Sub End Class ...Show All

  • Gadgets Attaching a ActiveX event to javascript

    Hi I created some nice ActiveX component and now I would like to use events. To test my current implementation, I tried to sink the event in VB6, which worked perfectly. This was the code I used in VB6: Private WithEvents Test1 As GeizhalsForumWatcher.GeizhalsForumWatcher Private Sub Form_Load() Set Test1 = New GeizhalsForumWatcher.GeizhalsForumWatcher Test1.SetCredentials "4066", "nvhf76jh" Test1.Start End Sub Private Sub Test1_OnGeizhalsForumDataChanged() MsgBox ("sdafsd") End Sub The messagebox fired just as expected. Now I would like to get this behaviour into my Javscript part. If the event fires, I'd like to call some method. My main problem now is that if I use: .... forumWatcher = n ...Show All

  • Visual C++ C++/CLI properties and events in a derived class

    I have two questions regarding a C++/CLI ( managed ) property or event in a derived class which is inherited from a base class: 1) How can I change an attribute for a property or event in a derived class inherited from a base class without re-implementing the property or event 2) Is it possible to have a protected property or event in a base class which is made public in a derived class without re-implementing the property or event If so, how would I do this Does the C++ 'using' statement work for managed classes To confirm, the CLR (Common Language Runtime in .NET) does not allow private inheritance as C++ does, which would have allowed you to hide a base class from a derived class' client. The inco ...Show All

  • .NET Development IoCompletion handle

    Hi. I'm not sure this is a right topic for that section. I have a problem with growing number of IOCompletion Threads. In our producion environment we have from time to time ExecutionEngineException. I was trying to understand what is going on and started from analysing DUMP file. I found that there are more than 1000 thread doing IOCompletion operation: 103 76 528 084fe878 880b220 Enabled 00000000:00000000 0014d518 0 MTA (Threadpool Completion Port) the stack of the each of them is: 0:044> ~103e k ChildEBP RetAddr 0e4af0f8 7c90e31b ntdll!KiFastSystemCallRet 0e4af0fc 7c80a746 ntdll!ZwRemoveIoCompletion+0xc 0e4af128 79f2f30a KERNEL32!GetQueuedCompletionStatus+0x29 0e4af194 79ecb00b mscorwks!ThreadpoolMgr::CompletionPo ...Show All

  • Visual FoxPro deleting records from a table

    Hi all, I have a table(all_wID) that consists of 160,000 IDs ( IDs are numbered from 1 to 160,000). Every time i use an ID in a particular application, I want that ID deleted from the table(all_wID) i use -> delete from all_wID where work_id = find.work_id this is saying if i use one of the IDs, delete it from the list, then when i use the application again i need to check to see if the id has been used already. I query all_wID to see if it has been deleted, and if it hasn't been, i use the ID and then delete it. My problem is getting the record to delete. The table consisting of the IDs, doesn't delete the record, but instead makes the 1cm border to the left of the column black. Does any1 now how to acutally delete a record from a file ...Show All

  • SQL Server Bulk Insert fails. Column is too long in the data file

    Hi, for testing purposes I'm inserting a flat file into a sql-server table using BULK INSERT unsig the following code: BULK INSERT rsk_staging FROM 'c:\temp\bulk\rsk.txt'   WITH (     FIELDTERMINATOR = '\n',     ROWTERMINATOR = '\r\n',     CODEPAGE = 'RAW',     DATAFILETYPE  = 'char',     BATCHSIZE = 100000,     ROWS_PER_BATCH = 1925604,     TABLOCK   ) I have two versions of "rsk.txt" one with 1.9mill rows and one with the first 2000 rows only. The files have one column only with 115 characters that I'll split in to several columns later using SUBSTRING. The one with 2000 rows fires in to the database with ...Show All

  • Visual Basic Starting/Stopping Processes Problem (vb, visual studio 2005)

    Ive been trying to create a small application to start and stop "spoolsv.exe" (and some other processes) as I want to be able to stop it when I play games or run other demanding applications. Without going into services.msc I have had both the Start and Stop commands working on their own but when I integrate them into the actual project only one will work. Start Process Code Private Sub StopProButton_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Dim myProcesses() As Process Dim myProcess As Process myProcesses = Process.GetProcessesByName( "spoolsv" ) For Each myProcess In myProcesses myProcess.Kill() Next End Sub This Works fine on ...Show All

  • Software Development for Windows Vista need write filter

    i need filter which listens to multicast. input is TS and output should be 2 pins audio and video ES. i decided to remake dsnet.ax such a way. but i can not understand what happens in code:( please give me some documentation which will help me. sorry for bad english ...Show All

  • Visual Studio Tools for Office VSTO Outlook 2003 Add-in Updating Script

    At present, when i build the system, i copy the contents to a network drive, for others to install, and i was just wondering if someone could point me in the direction of some sort of automatic updating script. whether it be on bootup of outlook, on bootup of the computer, or even just attempting install, and some sort of "there is a newer version, install now" Any sort of information would be greatly appreciated, and thanks to everyone, especially you peter, for eventually forcing my brain to getting there. Jay ...Show All

  • Visual Studio VS IDE crashes when debugging in managed or mixed mode

    I have a c++ project that uses a .NET 1.1 assembly as a com object. It is loaded with CoCreateInstance. If I debug in native mode it looks like everything works okey, in managed mode the application crashes with no errors or anything, and in mixed mode Visual Studio crashes. Something that looks somewhat suspisous to me is that it looks like .NET framework 2.0 assemblies and debug symbols are loaded. For example: 'MyApp.exe': Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\fusion.dll', No symbols loaded. 'MyApp.exe': Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\msvcr80.dll', PDB format is obsolete. 'MyApp.exe': Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\mscorwks.dll', No symbols loaded. Am I doing something wro ...Show All

  • SQL Server Executing SSIS Package from Agent Fails

    Hi, I have an SSIS package that utilises a 3rd party ftp program to transfer files (over HTTPS). This software stores details in the users profile relating to addresses, user names and password for transfers. As this is the case the Package needs to be executed by the domain user who has the details set in their profile. The package needs to be executed at a scheduled interval - so I have set up an Agent job to do this, and have the the 'Run As' setting, as a proxy which maps to the required domain user. The package works fine when executing manually when the required user is logged in. If, however, the user is not logged in - ie when the job kicks off at the schecduled time, the file transfer fails. On debugging I can see th ...Show All

  • Software Development for Windows Vista Doom and Gloom in Vista DAW land

    Here's an article written on what hardware developers and us DAW users face with Vista.....It does not look to promising.....am I missing something http://www.cs.auckland.ac.nz/~pgut001/pubs/vista_cost.txt What I'd really like to know is.....Why has there been little interest in Win x64 by hardware/software developers in the pro-audio world As promised, here is a short clarification on this article, as well as a QA available. Note that these restrictions only apply to content that is protected (usually commercial content, but there are some other scenarios (i.e., corporate, medical, etc.) where content is protected as well). http://windowsvistablog.com/blogs/windowsvista/archive/2007/01/20 ...Show All

  • Windows Forms Insert/Delete in Datagrid

    I have a form with a datagrid, which is sourced from a dataset. I would like to add buttons to this for to Insert, Delete and Undo (if possible). I am not sure how to do this using datagrids/dataset functionality. Can someone give me pointers on how this may be done. I do have the update scripts written and they work fine, just wanting to add additional functionality to the form. Thanks in advance Insert is available for detailsView not datagrid. AutogenerateDeleteButton = True AutogenerateUpdateButton = True You'll also have to code a query for each and add the parameters. Adamus ...Show All

©2008 Software Development Network