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

Software Development Network >> dan blanchard's Q&A profile

dan blanchard

Member List

Clément M
BonkoKong
Drashti
Adithya reddy
HelpMePleaseeee
steveculshaw
sweds2135
Andrew1985
Rob the programmer
DogGuts
DaveAnson
rpattal
TBombadil
zicovn
Andre Azevedo
Federico Masi
BigRav
birch9397
WaltXS
Meatnog
Only Title

dan blanchard's Q&A profile

  • Visual Studio Team System Listing of all code analysis rules?

    Where can I find a complete list of all code analysis rules (with details - not just the rule names) Hello For managed code with FxCop see the following link: http://msdn2.microsoft.com/en-us/library/ee1hzekz(VS.80).aspx For Native C/CPP warnings see: http://msdn2.microsoft.com/en-us/library/a5b9aa09(VS.80).aspx Thanks Brian [MSFT] Microsoft Developer Support This posting is provided "AS IS" with no warranties, and confers no rights. ...Show All

  • Windows Forms Winforms with Access DataBase ( it doesn't SAVE , modify records )

    Hello. I'm developing an application using vb. NET and an Access DataBase ( the application is not big ). I ADD a DataSource, ( Menu/Data/Add new datasource) i select an Access Database, and i select the table i need ( dataset ).. everything seems to be fine. I go to the dataSource Windows to see my DataSets with its table, i drag and drop it into a blank winform, it creates a datagrid with its navigator, every seems to be cool. I run the app, and i start adding data into the datagridview.. i press the Save button to update the change... i close the windows and i open it, and i SEE the changes. BUT when i close the app, and i ope ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. LoaderLock was Detected?

    I'm alittle stumped here... I'm trying to play an MP3 file with directx in vb 2005 express, it worked fine in vs 2003, but seems to not want to work in this version of VB :/ Heres what it says... DLL 'C:\WINDOWS\assembly\GAC\Microsoft.DirectX\1.0.2902.0__31bf3856ad364e35\Microsoft.DirectX.dll' is attempting managed execution inside OS Loader lock. Do not attempt to run managed code inside a DllMain or image initialization function since doing so can cause the application to hang. heres where the error occures: Dim tempAudio As Audio tempAudio = New Audio(fileOpen.FileName) That code is being executed when you click ...Show All

  • SQL Server having a constraint on a adding a record

    how can i make a stored procedure for inserting a record in the database where it detect if the title is already present and then disregard insertion and just update the number of copies in that specific record i would be so thankful for any hel out there...tnx! insert into yourtable(pk, col1, col2, col3) select @pk, @col1, @col2, @col3 where not exists (select * from yourtable x where x.pk = @pk) if @@rowcount = 0 -- nothing inserted begin -- so do the update update yourtable set col1 = @col1, col2 = @col2, col3 = @col3 where pk = @pk end ...Show All

  • Windows Forms Referencing a Form's method from an assembly in the same Namespace

    I'm trying to call a method declared in my main form from an assembly that is in the same Namespace, but I can't get it even to compile. There are some limitations that I would like to comply with: - The method in the form can't be Static because I need it to access a control in the form. - I shouldn't create a new instance of my main form in the assembly because I need the method to be called to access the current values of some fields in the form. - I don't like the idea of declaring a field of type Form_Main in the assembly and then make it to reference the main form at runtime. It got to be a cleaner way. I'm looking for s ...Show All

  • Visual Basic Graphical GUI's in Visual Basic -- is it possible?

    Hello, first off, i'm not much of a programmer so forgive me if this question sounds silly... Is it possibleto create a DLL file in visual basic 2005 express which consists of a GUI ...maybe I put that the wrong way...here's what i'm trying to do: I'm using a program called ActiveWords that can read from a .dll file. I want the program (activewords) to call a method in the .dll file which will display a GUI file and then return a value to activewords... the activewords part aside, can a GUI be created in a dll thanks for the help A form is just a class (with a user interface) and therefore  putting forms in othe ...Show All

  • Windows Forms Images inside DataGrid's columns

    Hi! How can I use images inside DataGrid' column instead TexBox'es And also I want to be able change these images according to program's logic (exporting / importing information) Thx. There are samples available for displaying icons and bitmaps at the WindowsForms FAQ: http://msdn.microsoft.com/smartclient/community/wffaq/ctrlsp.aspx#4umuvlol ...Show All

  • Windows Forms Calling Javascript in webBrowser from C#

    I have a webBrowser control in my C# .NET 2.0 Windows application.  How can I call a JavaScript function in the HTML that the control has navigated to, from C# Essentially, I am trying to change the visibility attribute of a DOM object within the web page, based on a click event from one of my Windows form buttons... Thanks Igor. Code to get an elemnt of the DOM tree in your browser control: HtmlDocument htdoc = webBrowser1.Document; HtmlElement elem = htdoc.getElementById("target"); ...Show All

  • Visual C# Access vs c# as frontend

    We are looking at a new business application. the application will deal with hr, QA, sales, payroll, inventory, etc. One sales consultant came to us and stated that using sql server 2005 as the backend and microsoft access as the frontend is a good decision. I really do not think it is a good idea. I would rather see something in c# that ties to sql server. dont get me wrong I love access but I think it has it place and for an application for the future I just feel this is a really bad idea. This application is going to be used by 40 users. I want a system that is scaleable and robust. What are other thoughts ...Show All

  • Visual Studio MDI Threading issues?

    Hi, I'm hoping someone can help. I'm using the report viewer in an MDI child window. Users can be viewing several reports at once. The problem is this: If a user closes the MDI child window, while the reportviewer is at work (say, drawing print preview pages or generating a report) and fires up a new window reasonably soon (the old reportviewer will continue its work while not being visible), the application will crash. Is there something I need to do in order to destroy the reportviewer properly, so that it will stop doing work Thanks! I think I've solved this myself. I'll post the solution here, maybe it ...Show All

  • Windows Forms Panic button

    I'm working with a routine that iterates through a collection of ListView Items and if they pass certain criteria they are cloned for another operation later in the code - this is done via a For...Loop. I'm working with thousands of ListView Items and I need a way to stop the operation midstream (if the user wishes). Can I implement some kind  ...Show All

  • Visual Studio Team System Solution problems with RC and Beta 3

    Maybe it's just me, but can you no longer add a solution to source code control when creating the solution (or project) Did something break with the beta 3     Awesome. This fixed it. For some reason I just expected the Team Suite to default to a given provider. I never even though to look here. Thanks for your help! Jeff ...Show All

  • Windows Forms Combox.SelectedValue is null after item is selected

    In my new C# 2.0 windows application, I want to display drop down lists that hold key/value pairs. So I created a simple class "ClsLookup" with LookupText and LookupValue properites. I add instances of these lookup classes to a ComboBox's item list and set the DisplayMember and ValueMember properties of the ComboBox. After the user selects an item in the ComboBox, the ComboBox.SelectedValue property is null. The ComboBox.SelectedIndex and ComboBox.SelectedItem properties contain the correct values. Why do I want to use the SelectedValue property instead So, I can use a BindingSource to bind to the SelectedValue property. ...Show All

  • Software Development for Windows Vista Problem Purging mailbox from within Exchange 2003

    We are having an issue trying to purge a few left over mailboxes from a recovery effort. What we have noticed is as follows: -the account that the mailbox was tied to no longer exsists. -when you try to either reconnect or purge the mailbox I get the following error.    "The operation cannot be performed because this mailbox was already reconnected to an existing user." ID no. c1034ad6" We need a way to either reconnect this mailbox to a new account or purge it off the system.  I can provide more information if needed... Thanks, Sean To resolve this same problem I: a. Ran 'Exchange Tasks' on the known user account f ...Show All

  • Visual Studio Express Editions compile internet files

    I have an internet file that i downloaded and unzipped. It is a compilation of macro's and i'm not sure how to compile it into a useable form. how do i set a file as a main then transfer all files in that folder to be compiled any help would be appreciated. thanks Macros are code generators, they are not code. That is, they contain code, but you need somewhere that they are used to create actual code. Your best bet is to create a new project, include the files, then try calling any methods that exist in the other files, after #including them of course. ...Show All

©2008 Software Development Network