johnnyjunky's Q&A profile
Smart Device Development Disappearing Inputpanel
Hello, My problem is: After Messagebox.Show() System.WindowsCe.Forms.InputPanel has gone, it can be back only on new instance of Form, I use .NET Compact Framework 2.0 and ToolBar with image buttons near inputpanel. It happens on HP Ipaq hx2400 with Windows Mobile 5.0, it doesn't happen on Asus MyPal N636, Fujitsu Siemens N560, Dell Axim, HP 3715. I havn't tested more. Please help me if anyone met this problem Michal I'm in the process of looking into this issue. It seems like it comes and goes and only happens sometimes on some devices (as far as I can tell, it happens under both V2 and V2 SP1, but I'd be curious to know which you're running). You can find some more information over in this forum topic: http://forums. ...Show All
SQL Server Continue package execution on task failure
Hi, I am developing an SSIS package and need the execution of the package to continue even if one of the tasks within the package fails. I have an OnError event handler for this task which fires when it fails but want the rest of the package to continue. Any suggestions greatly appreciated. Thanks Hi by default the arrows between your tasks on the control flow (precedence constraints) are green. It means that you require the task to be successful in order for the next task to be launched. You can change this behaviour by double-clicking on the green arrow to change the constraint value from 'Success' (green) to 'Completion' (blue) - the next task will then be executed on both failure or success. c ...Show All
Internet Explorer Development How to register an HTA as a trusted application?
Does anyone know how to go about registering an HTA as a trusted application in Windows so that it can access databases via ADO without first prompting the user with security concerns The issue wasnt really changing permissions for internet security zones, as that could grant unwanted access to other applications. It also doesnt take care of the fact that my application had a lack of permissions as the user would manually need to add my application to the appropriate security zone. The WSC alternative worked fine. ...Show All
Visual Basic HowDoI Get listviewitem from another app
I want to capture information about selected listview items from a listview in a different application. I know that the sendmessage api can do that. I want to get the item text and I am having trouble getting that with the sendmessage api because it requires a pointer to a structure. Can anyone help with the best way to do this using vb.net2005 Thanks, Engineerik Is there an API for talking to QuickBooks Since .NET is managed code, it runs it its own process space and cannot easily access other processes - such as QuickBooks. Unless QuickBooks has hooks or an API, I don't see how you could grab text from one of the listboxes in QuickBooks... ...Show All
Visual C# How to add data to a datagridcombocolumn when another datagridcombocolumn is selected ?
Hi all, I have a datagridview which has 4 columns as below. DataGridViewTextBoxColumn dgvTxtMaterialID = new DataGridViewTextBoxColumn (); DataGridViewComboBoxColumn dgvCmbMaterialType = new DataGridViewComboBoxColumn (); DataGridViewComboBoxColumn dgvCmbMaterialName = new DataGridViewComboBoxColumn (); DataGridViewTextBoxColumn dgvTxtQuantity = new DataGridViewTextBoxColumn (); ------------------------------------------------------------------------------------------------------------------------ | dgvTxtMaterialID | dgvCmbMaterialType | dgvCmbMaterialName | dgvTxtQuantity | ------------------------------------------------------------------------------------------------------------------------ ...Show All
Visual Studio Tools for Office VSTO Word Deployment
Hi I have written a word solution using VSTO. The app basically contains a number of templates which link to a customer database and allows the users to populate customer addresses and other info. Anyway the solution works fine until someone saves a letter to another location. Then when they open the document they get a "customization could not be loaded error". I believe that this is because word\document is looking for the DLL associated with the original document. Is this correct If not does anybody have any ideas what could be causing it Yes, it sounds like the security may be location-based. See if the information in these articles on trouble-shooting and on deployment hel ...Show All
Visual C++ compilation error
I keep getting error C2470 ('looks like a function definition, but there is no parameter list; skipping apparent body') in Visual Studio 2005 and I don't know what I have done wrong. This is the C++ statement that keeps giving me the error: // function to retrieve the salary int Employee::getMonthlySalary { return monthlySalary; } Change to this: int Employee::getMonthlySalary(){ return mouthlySalary; } Should work. I highly recommend you to find a book of c/c++ programming for beginner and learn everything basic there. regards, rico ...Show All
Smart Device Development How do I capture "panel" scroll event?
I want to do some drawing bigger than the PocketPC Screen. I need to be able to capture the panel scroll event to draw the picture correctly base on the scroll bar position. Thanks in advance. .NETCF doesn't expose the scroll event on scrollable controls. Since you are planning on painting your panel's client area, just hook the OnPaint event. When deciding what part of your picture to draw, look at the AutoScrollPosition property to see what offset to use. ...Show All
Visual C# HOW DO I: Insert on a table, using tableadapter?
Hi, I guess my subject said a lot of my problem, but anyways i will try to explain it. this is it: Im new at this c# stuff, so i was tryin' to insert a row, into a two colums table. after tryin' with the DataRow Class, I got to the "tableAdapter.insert" method. it worked once... but I could'nt commit the changes.. not even using the AceptChanges method. anyways you get my point... anybody can help Actually this answare seemed to me very helpful, with only one problem.. the Sqlcommand stuff, i cant find it nither as a DataType or a class. is there anything wrong with my IDE ...Show All
Visual Basic visual studio 2005 is running slowly
I am developing a windows application(converting vba to vb.net). some of the forms have ten or more tab controls. Each tab control has many text boxes,listboxes,radio buttons. when i change a name of the control it takes 30s ---2min. when i copy and paste some control from one form to another it takes 1--5minutes. this does not happen all the time. any solution/advice would be appreciated. navigationbar is disabled/wordwrap is disabled ms vs 2005 ver 2.0.50727 os-windows xp sp2 cpu-p4-3000mhz ram-2g machine-hp That doesnt sound very right.. As i recall, there were almost no delay when changing a name of a control in vb 6. Of course im no expert developer, but the studio must be ...Show All
Visual Studio Problems after installation
I had installed the trial edition of Team System and everything was working well. After the trial expired I uninstalled it and opted for Team Test Edition. I just installed this today and I have no options to create a new project. On my File Menu it says New File and Open File. Why are there no options to create or open a solution I'm going to go ahead and move this thread to the appropriate forum... but you can try this link: http://blogs.msdn.com/astebner/articles/492809.aspx Go to Visual Studio 2005 uninstall instructions and see if that helps Thanks, David Gorena Elizondo [MSFT] VSTS ...Show All
SQL Server Exporting XSD files as relational tables
Hi All, We have a bunch of XSD files that we would like to export as relational tables. Is there a way of doing it in SQL Server 2005 ...Show All
Visual Basic Label ForeColor
Everyone I've asked doesn't know how to do this. Even my programming teacher doesn't know!!! How do I change the ForeColor property of a label box from the code Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Me.lbl_note.ForeColor WHAT GOES HERE End Sub In typing in your recommendation, I found that you can just type Me .lbl_note.ForeColor = Color. ColorName . Thanks for your help and inspiration though! ...Show All
Visual Basic Stdole.dll installation and assembly bind failures
Most of our pc's have stdole.dll installed at C:\Program Files\Microsoft.NET\Primary Interop Assemblies but a few of our older Win2k boxes only have it installed at C:\Program Files\Common Files\Microsoft Shared\MSENV\PublicAssemblies. At run time they give an Assembly Bind Failure looking for stdole. Is the solution to install it into the GAC or the application load directory, or is there a neater solution ...Show All
SQL Server Mirroring Problem using Certificates ( between LAN and DMZ )
Hello Guys, Here it is my scenario; My principal server in LAN and my mirror server in DMZ and Iam using certificates both partners (I dont use witness server). I did not use wizard.I have just Setting Up Database Mirroring Using Certificates (Transact-SQL) ( http://msdn2.microsoft.com/en-us/library/ms191140.aspx ) Iam sure all steps are ok!(I mean ports,certificates,users,logins,endpoints,GRANT CONNECT ON ENDPOINT,SP1....) But I am still getting error Principal Server; Database mirroring connection error 4 'An error occurred while receiving data: '64(error not found)'.' for 'TCP://195.xx.yy.zz:5022'. Also,Mirror Database status changed (Restoring---->In Recovery) I tried many tests but I did not succeed.Do y ...Show All
