Software Development Network Logo
  • Game Technologies
  • Visual C++
  • .NET Development
  • Visual C#
  • Smart Device
  • Visual J#
  • Windows Forms
  • Microsoft ISV
  • Windows Live
  • Visual Basic
  • Architecture
  • VS Express Editions
  • Visual Studio
  • VS Team System
  • Windows Vista

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

AlexCode

Member List

ArielDeil
RyanT5000
metstudent1
Andy Bisson
ethan23m
Drew_0123
Robert-H
Alex Graham
mntlnrg
raws
keiop
HMoutawakkil
peternolan9
RegMellon
Roy 12345
Steve10
GTi
CosmicSheep
UserVBA
J Russo
Only Title

AlexCode's Q&A profile

  • Visual C# Using fields as parameters in a method

    I have a requirement in a project to build a history. No biggie, but there are dozens of bool fields and processing each one is very time consuming. My approach is to add a field name to an arraylist when the property is changed. OnSave() or Dispose() I look into the object and check to see if the field list is empty or not. If not, I process the list looking at each item comparing it to a clone of the original object so that only true change ...Show All

  • Visual Studio Express Editions How can I make text flash using Graphics.DrawString

    Is there a way to make the text in the following code flash on/off every 750ms Dim Empty As New System.Drawing.Font( "Arial" , 8, FontStyle.Bold) e.Graphics.DrawString( "Empty" , Empty, Brushes.Black,97, 153) Ken You could hook into the onpaint events for the form and include a system timer. With each tick set at 750 change the color of the text. ...Show All

  • Smart Device Development ResultSet GetValues

    Does anybody know how could I use the SqlceResultSet GetValues method I use the following pice of code and the compiler give me and InvalidCastException Public Class Form1 Public conexion As Data.SqlServerCe.SqlCeConnection = New Data.SqlServerCe.SqlCeConnection( "Data Source=GestionAlmacen.sdf" ) Public ComandoCarga As Data.SqlServerCe.SqlCeCommand = conexion.CreateCommand Public ResultSet As Data ...Show All

  • Visual Studio Express Editions How do I change the print margins?

    Visual Basic 2005 Express Edition: My application needs to print out a page.. How do I change the margins e.MarginBounds = 50 <--- Property e.MarginBounds is Read Only ...Show All

  • .NET Development .NET 2.0: Setting WebServiceBindingAttribute.Location leads to a NullReferenceException

    Hello, I currently try the contract-first approach when making Web Services on the .NET 2.0. Trying to set the WebServiceBindingAttribute.Location to point on my hand-made wsdl file leads to a NullReferenceException. Does anybody have an idea about what's wrong here Here is the stacktrace: Exception Details: System.NullReferenceException: Object reference not set to an instance of an object . Source Error: An unhandled exceptio ...Show All

  • .NET Development Copy row contents to same table as new record

    Hi all, I've searched a lot but I am looking for a simple way for a user to copy the contents of an existing record to a new record in the same table. I was hoping to find a dataset.table.row.item(index).copy feature, or something similar. Any suggestions are much appreciated. Thanks! If I understand your scenario correctly, the ImportRow method should give you the functionality you're l ...Show All

  • Visual Studio Custom help filters

    I searched through MSDN for Visual Studio 2005 and have found no custom filters, such as in previous version. Don't know what to do, it's quite annoying to get all these .net topics while developing native c++ app. Anybody knows how to apply this custom filters Custom filters for the Help Table of Contents and the Index are not available in Visual Studio 2005. You might want to try the "Platform SDK" filter as a way of keeping .NET topics ...Show All

  • Visual C++ my visual c-code and visual c++ code after execution gives different answers

    hallo, I have a simple visual c-code and visual c++ code.both codes are supposed to give me the same answer after execution.but the c-code gives me the write answer and the c++ code gives me a wrong answer. it's a floating point algorithmus code. Can anyone help me am guessing,it's a compiler setting problem.... Divini Please post a sample exhibiting both cases. Without such sample or repro case, it is really hard to speculate what is rea ...Show All

  • Smart Device Development Smart Client in VB.net

    Hi, I'm not sure if I'm asking this in the right place, but here it goes. I'm developing a system that retrieves detailed hardware and system software from clients computers to assist our helpdesk in solving these clients' computer problems. I will be using WMI to retrieve this information, and have already written a class to retrieve and store the information I need. To deploy this however, the class would have to run on the ...Show All

  • Visual Studio 2008 (Pre-release) User controls

    If you use custom User Controls within XAML they break the Cider preview window. Andrew, thanks for the report. When you say "breal the preview" window can you explain what you see thanks mark ...Show All

  • SQL Server Sending Database Mail

    Is there anyway to send mail through SMO, or any object model, or is the only way to send a message through Database Mail via sp_send_dbmail Thanks ...Show All

  • Visual Basic Exception handling doesn't catch errors

    I seem to be missing a fundamental point regarding exception handling. My understanding is that when an error occurs, it can be caught by Catch without abnormally terminating the program. Mine will always abnormally terminate when an error occurs. An example is below. When the connection fails to open, the application breaks instead of executing the Catch block. Why Try cnSQL.Open() xMainMenu.ShowDialog() Me .Close() cnSQL.Clos ...Show All

  • Visual Studio Team System .NET project naming conventions

    Is there a recommendation from Microsoft on .NET project naming conventions I want to be able to standardize on a project naming convention for multi-project solutions. Example. Console applications have "Console" appended to the project name I've seen little guidance at this level. From the Visual SourceSafe documentation: As you and your teammates add more solutions to source control (and perhaps create subprojects), a naming conven ...Show All

  • Visual FoxPro Cannot 'USE' two tables in VFP90 - XP ONLY?

    I am using a stand-alone exe in VFP90 and I am trying to create a new form with the following in the init: SELECT 0 USE 'accntdb' ALIAS 'accntdb' SELECT 0 USE 'presetdb' ALIAS 'presetdb' I am compiling with VFP90 S/P 1.  Now, this will open both tables when run on Win2K just fine, but when run on XP (latest s/p) only the data in the 'presetdb' table is visible in the browser.  The alias is still recognized, but ther ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. why cann't the 2D polygon be drawed correctly?

    i try to draw a polygon which have 6 points .But no matter I draw it,It always cann't be draw correctly. My main code is below: public void OnCreateVertexBuffer(object sender, EventArgs e) { VertexBuffer vb = (VertexBuffer)sender; GraphicsStream stm = vb.Lock(0, 0, 0); CustomVertex.TransformedColored[] verts = new CustomVertex.TransformedColored ; verts[0].X=150;verts[0].Y=50;verts[0].Z=0.5f; verts[0].Rhw=1; verts[0].Color = Sys ...Show All

©2008 Software Development Network

powered by phorum