Jump to content
Xtreme .Net Talk

digioz

Members
  • Posts

    18
  • Joined

  • Last visited

About digioz

  • Birthday 10/19/1973

Personal Information

  • Occupation
    Programmer
  • Visual Studio .NET Version
    VB 6, 7, 8 and 9
  • .NET Preferred Language
    VB.NET

digioz's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. I didn't explain it well. Here is some more information : 1- Application starts in a Sub Main and initializes a main portal form and launches it. 2- The portal form contains panels, which are populated by other sub-forms. 3- The sub form inside the panel calls a subroutine, let's call it "A". 4- Subroutine A uses a connection object "C" that is always connected to the server to send XML messages. 5- There is a "Send" function inside of the connection object C which I want to break out of. This function sends an XML string to the server and receives a response from it. What I am trying to do is to break out of subroutine "A" without modifying the logic of it (since in reality there are around 500 + other forms that have a subroutine similar to "A" that calls the connection object's Send Function). If I break out of the Send function, the function return a Null value breaking the code in subroutine "A", and I don't want to have to modify subroutine "A". I realize ideally I would want to modify my calling subroutine to check for a return message of Null and exit out without continuing, but rewriting every single one of those calling subroutine would be a massive undertaking. Also, each subform expects a different set of XML tags in the return, so I can't just return an empty string or a generic one for all of them. Thanks, Pete
  2. Hi, I am looking for a way to stop / interrupt the execution of a subroutine on a form, based on an even that fires. So basically: 1. User clicks on a button. 2. Button calls a function or subroutine. 3. Event fires on the form. 4. Event stops the execution of the function or subroutine regardless of the stage of the execution the routine is in. 5. The form does NOT close and the data in controls on the form as well as instances of initialized objects remain. Can anyone think of a way to do this? Maybe using some sort of a signal interrrupt or signal handling? Thanks, Pete
  3. Maybe I am not understanding the problem correctly, but isn't the whole idea of having a Citrix Server to allow non-windows and windows users alike to run an application off of a main server? If that's the case then all you would have to do is to install your application on the Server itself, and Terminal users would be able to access it. If your setting however is more of a Thin Client type setting however I would recommend that you create a bootstrap application to install and launch your application on the fly. Pete
  4. New Problem: When trying to compile an Application where there are multiple sub-projects within the main solution, I get the following error: MSBUILD: error MSB1008: Only one project can be specified. Switch: ProjectName.vbproj I have already added all the target imports to each sub project's .vbproj and .csproj files, and am using the command line command: msbuild [Project Path] /p:TargetFX1_1=true Anyone know how to fix this one? :confused: Thanks, Pete
  5. You are right! It looks like the issue was being caused by any new Windows Forms that are added to the project using VS 2005! :eek: It looks like if I simply copy an existing VS 2003 created form, rename all reference to it in both resx and .vb files it compiles successfully! Even though that would be a pain to do on an ongoing basis, I think it would be worth it if it means I don't have to maintain 2 seperate versions of my application. Thanks a bunch for your help! Pete
  6. Its a standard windows form application, so it references: System System.Data System.Deployment System.Drawing System.Windows.Forms System.Xml Pete
  7. Hello all, I am trying to compile a simple VB.NET Windows Form project which was converted from VS 2003 to VS 2005 using the .NET 1.1 framework from VS 2005 by utilizing MSBee. Based on the instructions, I have added bellow this line (in .vbproj file): <Import Project="$(MSBuildBinPath)\Microsoft.VisualBasic.targets" /> the following: <Import Project="$(MSBuildExtensionsPath)\MSBee\MSBuildExtras.FX1_1.VisualBasic.targets" Condition="'$(BuildingInsideVisualStudio)' == '' AND '$(TargetFX1_1'=='true'" /> When I run the following command from VS 2005 command line: msbuild C:\Temp\WindowsApplication1\WindowsApplication1\WindowsApplication1.vbproj /p:TargetFX1_1=true I get the errors and warnings in the attached text file. MSBee_Error.txt Anyone know what's wrong with it? Any help would be appreciated! Thanks, Pete
  8. In VS 2005, when you create a User setting under Project Properties > Settings: [ATTACH]5622._xfImport[/ATTACH] Which creates an entry in the App.Config: [ATTACH]5623._xfImport[/ATTACH] Now when the application overwrites the value of each of these keys, it doesn't write the value back to the app.config (because it needs to keep track the value for each user of the application seperately). I am guessing that it stores it in the registry somewhere, but a registry search didn't yield a result, which makes me think maybe its encrypted. Does anyone know where in the registry these values are stored? Thanks, Pete
  9. I have been using it for years now on both Windows and Pocket PC applications, and never had any problems with it. I highly recommend it over other zip libraries I have come across. Pete
  10. Hmm... I wonder why it doesn't work for me. I have a regular textbox, with "Multiline=True", and "Scrollbar=Vertical". Is that what you have? Am I missing something? I am trying it in VS 2005. Is that what you are using? Thanks, Pete
  11. Here is what I would do: Write a Webservice that allows users to upload msi files to your sharepoint. Write a Macro or Plugin for Visual Studio to connect to that webservice and upload the msi file. Create a custom botton in Visual Studio to call that Macro or Plugin. That would do it. Not very hard to do, specially if you use Macro. Pete
  12. Paul's code didn't work for me. But this does: Private Const WM_VSCROLL As Int32 = &H115 Private Const SB_BOTTOM As Int32 = 7 Private Declare Auto Function SendMessage Lib "user32.dll" ( _ ByVal hwnd As IntPtr, _ ByVal wMsg As Int32, _ ByVal wParam As Int32, _ ByVal lParam As Int32 _ ) As Int32 Private Sub AddLine(ByVal loDestination As RichTextBox, ByVal lsText As String) With loDestination .AppendText(lsText & ControlChars.NewLine) SendMessage(loDestination.Handle, WM_VSCROLL, SB_BOTTOM, 0) End With End Sub Private Sub btnAdd_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnAdd.Click Dim i As Integer = 0 For i = 0 To 300 AddLine(txtProgress, "Line " & i) Next End Sub Pete
  13. Take a look at this article: http://community.prestwood.com/ASPSuite/KB/document_view.asp?qid=100507 I think you could benefit from using ClickOnce deployment to have people run / deploy your applications off your server. Pete
  14. You may be refering to Microsoft "ClickOnce" technology, which his available with VS 2005 / .NET 2.0 or higher: http://msdn.microsoft.com/en-us/library/t71a733d(VS.80).aspx I have never used this technology on Webservices though (usually just for Regular Windows Applications). Pete
×
×
  • Create New...