Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
A

apferreira

@apferreira
About
Posts
96
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • 'Web Withdrawal'
    A apferreira

    :)

    The Lounge com question

  • over/under flow question
    A apferreira

    The MessageBox.Show method should be inside the catch statament, i.e. Try var1=number1/number2 Catch e As System.OverflowException MessageBox.Show("Error:Invalid Argument" & e.Message","Invalid format") End Try As for the extended textbox control that validates user input, I suggest you read the following CodeProject articles: Validating TextBoxControls[^] Validating TextBox[^] And for a more general view on custom control development, I suggest the following MSDN article Developing Custom Windows Controls using Visual Basic NET[^]

    Visual Basic help question tutorial

  • over/under flow question
    A apferreira

    justmeTW wrote: What I want to do is create an overflow and underflow code so that if the interger is over or under the input then it will bypass the following message: Use catch statements that target the System.OverflowException class to display a personalized message on overflow errors. justmeTW wrote: if the user inputs 1.1.1.1 then an error message will occur. I would suggest using an extended textobx control that would validate user input instead of using try/catch clauses.

    Visual Basic help question tutorial

  • Education
    A apferreira

    I would definately go with option #3 if your job description right does not require you to be developing web services in the near future. Furthermore, since you have strong C++ background, I do not think you will have many problems adapting to Java if you do whish to learn that programming language. And yes, Java isn't the only way to implement web services.

    The Lounge learning c++ java wcf help

  • DataSet Clear() performance problem
    A apferreira

    Since this seems to be a .NET Framework issue, I do not see how you can alter this behaviour without changing the structure of your code. Also, I do not know if this issue only arises on .NET v1.0 or not. You should check that, because .NET v1.1 had many perfomance and bug related improvements

    .NET (Core and Framework) architecture performance help question

  • DataSet Clear() performance problem
    A apferreira

    I have seen other people complain about the same performance issue, namely here.[^]

    .NET (Core and Framework) architecture performance help question

  • using .NET as a script engine
    A apferreira

    Try these CodeProject article: Tool to run .NET sourcefiles like script files[^] Dot Net Script[^]

    .NET (Core and Framework) csharp question c++ java game-dev

  • Listing shares and type
    A apferreira

    Try the following CodeProject article: Network shares and UNC paths[^]

    Visual Basic tutorial

  • Calling a function in C++.NET
    A apferreira

    It is a matter od simply changing the order on which you call your functions. In your main method, GetIncome() should appear before DisplayOutput(), not after.

    .NET (Core and Framework) help csharp c++ security lounge

  • DirectX9 with C++.Net
    A apferreira

    Try this CodeProject article: Tetris3D - an Introduction to Direct3D using Managed C++[^]

    Managed C++/CLI tutorial csharp c++

  • Suspend-to-Ram and Wake-on-Alarm
    A apferreira

    An application may use SetSuspendState to transition the system from the working state to the standby (sleep), or optionally, hibernate (S4) state. BOOLEAN SetSuspendState( BOOL Hibernate, BOOL ForceCritical, BOOL DisableWakeEvent );

    System Admin question

  • Multiple Monitors
    A apferreira

    In multimonitor environments use the DesktopLocation property instead of the Location property to correctly position forms.

    Visual Basic help

  • Woohoo! I'm a daddy!
    A apferreira

    Congratulations to you and your wife.

    The Lounge com

  • Window Location, Multiple Monitor
    A apferreira

    When running an application on a multiple monitor environment the coordinates of the form are the coordinates for the combined desktop. The .NET Framework provides the Form.DesktopLocation property to set and get the location of forms in multimonitor environments. So, in the code you posted above you should remove stataments like Me.Location = New Drawing.Point(loc.Right,(loc.Bottom - loc.Top)/2) replacing them with Me.DesktopLocation = New System.Drawing.Point(loc.Right,(loc.Bottom - loc.Top)/2)

    .NET (Core and Framework) workspace csharp graphics help

  • Image..
    A apferreira

    :laugh::-D;):)

    The Lounge com tools question announcement

  • creating an app to track user input
    A apferreira

    It is, simply put, an event based scenario. Depending on what you want to track, you can use standard events (those offered by the Framework classes) or create your own events to deal with your application's business logic (by building your own event handler delegate classes). Also, depending on the amount of user data you want to track, you can store it in simple XML files (if the amount is small) or in a more sophisticated data store like an Access or SQL server database (if you want to store large quantities or complex relationships of user data).

    C# question csharp database xml help

  • Help: Add-in development in VS C++ Standard Edition
    A apferreira

    Visual Studio Standard Editions only offer a limited set of templates. As far as I know add-in templates are only available in Visual Studio Professional or higher versions.

    Visual Studio visual-studio c++ help announcement

  • SQL server connection string issue :-(
    A apferreira

    Have you tried this at the command prompt? This solved a similar connection problem on my computer. osql -E -S (local)\DBNAME -Q "sp_grantlogin 'MACHINENAME\ACCOUNTNAME'" osql -E -S (local)\DBNAME -d Pubs -Q "sp_grantdbaccess 'MACHINENAME\ACCOUNTNAME'" osql -E -S (local)\DBNAME -d Pubs -Q "sp_addrolemember 'db_owner', 'MACHINENAME\ACCOUNTNAME'" Substitute elements in UPPERCASE with the relevant informantion from your specific case. Note: Contrary to you, I was using Windows Authentication instead of SQL Server Authentication.

    C# database csharp c++ html sql-server

  • .net controls + longhorn?
    A apferreira

    Regarding your question, and quoting the Longhorn SDK[^] ...You can display pure "XAML" pages in a browser without compiling it. However, if your "XAML" page includes procedural code, you must compile the application before you can run it. "Avalon" cannot interpret uncompiled procedural code... Also, to make my earlier remarks clear: Another quote from the Longhorn SDK[^] Procedural code can be part of the "XAML" file or be within a separate code-behind file..."XAML" has a corresponding object model that allows you to do anything in procedural code that you can do with markup. In fact, when you build an "XAML" application, the markup parser converts the markup into equivalent object model-based code... And a quote from Don Box's blog[^] ...XAML is domain-neutral, so while it may be used to create desktop apps, web pages, and printable documents, it could also be used to create CRM apps, blogging backends, or highly concurrent web services provided you had a supporting CLR-based library to do the heavy lifting...

    C# csharp question html asp-net wpf

  • .net controls + longhorn?
    A apferreira

    Judah H. wrote: XAML is a language, just like HTML or XML is. But yes, it's only intended to be used to describe UI elements, it can't be used by itself to create an app. That is not entirely true, since you can inline C# or VB code in a XAML file. Of course, for intermediate to big real world applications you would not want to use a declarative language such as XAML.

    C# csharp question html asp-net wpf
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups