Software Development Network Logo
  • IE Development
  • Visual C#
  • VS Team System
  • Visual C++
  • SQL Server
  • Windows Forms
  • Visual Studio
  • Visual Basic
  • Game Technologies
  • Windows Vista
  • Audio and Video
  • Microsoft ISV
  • .NET Development
  • SharePoint Products
  • Visual FoxPro

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

joeydj

Member List

cheekster
that_guy
enric vives
mnoon
Erik11
GlenAtMotorola
a9192shark
JensR
vhmau
Waqas Nasir
radek_m
Dharmendra Singh Baghel
adamhill
David N.4117
Paul_G
VOC
sunny123
Obsolete
Marie Ramos
Keith Thomson
Only Title

joeydj's Q&A profile

  • Windows Forms Help required with understanding threading

    I've got a function in my program that's made by this logic: SaveItem if CheckSave = true then if Status != 5 then If Revision = "Y" or Status != 0 then SaveRSFiles else bSucces = true end if if bSucces = true then SaveMaItem end if end if Now I noticed that somethimes the application hangs on saversfiles. So I read a little bit about threading and now is my question how can I implement threading into my application Something like this: SaveItem if CheckSave = true then if Status != 5 then If Revision = "Y" or Status != 0 then SaveRSFiles (IN A NEW THREAD) else bSucces = true end if end if If thread finishes, then it needs to fire "SaveMaItem" (if bSuc ...Show All

  • SQL Server Database Snapshots Performance

    Hi, I'm developing a Data Mart and i'm experiencing a performance gap between my fact table and its snapshot. I create snapshot with the istruction: CREATE DATABASE DB_SNAP ON ( NAME = DB_SNAP_Data , FILENAME = 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\ DB_SNAP_Data .ss' ) AS SNAPSHOT OF DB ; And it works. But executing queries on the snapshot result very "low". Can anyone tell me why Tanks. F. There is a section in Books Online titled "How Database Snapshots Work" which shows the extra level of redirection for snapshots. For a newly created snapshot, the data will not be in cache so it might take a little while to pull the data into the buffer pool. Once it ...Show All

  • Windows Forms Improperly Formatted

    I am using Visual Studio 2005 Beta 2 and I am having trouble deploying my application. I receive a 'Application Failed: Unable to continue.  The application is improperly formatted. Please contact the application publisher."  I used to not have a problem with this. Does anyone have any solutions   Thanks in advance. nate. Hi I am using VSTO 2005 excel application.When I publish im getting this following error. please do the needful. PLATFORM VERSION INFO Windows : 5.1.2600.131072 (Win32NT) Common Language Runtime : 2.0.50727.42 System.Deployment.dll : 2.0.50727.42 (RTM.050727-4200) mscorwks.dll : 2.0.50727.42 (RTM.050727-4200) dfdll.dll : 2.0.50727.42 (RTM.050727-4200) dfshi ...Show All

  • Windows Forms Parameter count does not match Parameter Value count.

    Parameter count does not match Parameter Value count. what does this mean...I am trying to update my sqldb...I have all the right parameters...why elese would this come up Tryin2Bgood wrote: Here is my Query for the Update or Insert...its a Save Function() When i insert a breakpoint it shows me the values of whats in the Database but if i add new values to the controls it never has what was added....Like the new data is not being sent at all..... public void Save() { if (_CustomerID == 0) { SqlHelper.ExecuteNonQuery(SqlHelper.ConnectionString,"Customer_Insert", new object [] { _CustomerCode, _Attention, _Class, _LoadType, _VehicleType, _TermNumber, _Status, _Commodity ...Show All

  • Visual Studio How can we label a particular file and pull only those files that match a particular label?

    How can we label a particular file and pull only those files that match a particular label Example: Label file \level1\level2\level3\john.h as "Label1" Get all files tagged with label1 from \level1. Only john.h should be retrieved. You have to manually loop over every item underneath level1 recursively, then try to fetch the labeled version of each item. (You could optimize this by checking subfolders for the label, then pruning those parts of the tree.) It's more of a workaround than a real solution, admittedly. ...Show All

  • Visual Basic How to import data from a Excell wokbook to a database

    I need to create a new database with excell data, and to compare them and create a new database with the results, and write them on the screen, how I can do it simply.Use what kind of database ...Show All

  • Visual Studio Express Editions Can't install VC++ Express from .iso on CD

    I downloaded the Visual C++ Express .iso file and burned a CD ROM so I can install it on a machine that is not connected to the network. The PC has VS6.0 on it but nothing after that. I successfully extracted all the files to a directory on my hard drive, then clicked on setup.exe. Part way through, a box pops up telling me to "insert disk" because setup is looking for dotnetfx.exe. It wants me to insert the "Microsoft Visual C++ Express Edition - ENU disk1" but all I have is the CD ROM with the .iso. The dotnetfx.exe file is there, under wcu\dotNetFramework\, so I don't know what's going on! The "insert disk" window will only accept a path to one of my CD ROM drives... if I try to point it to the location ...Show All

  • Architecture UML Tools for our company... VB.NET and Visual Studio.NET 2003

    Hi, I am a newly employeed at a software development company. This company has not previously used UML for deveoping its applications. I would like to document our application using UML and since I know some UML, it is up to me to suggest an application to do this. We use VB.NET and Visual Studio.NET 2003 and the application should at least support Use Case Diagram, the Sequence Diagrams and Class Diagrams. The application should not be too bloated with functions that we are not gonna use, just the UML diagrams mentioned, and not to expensive. What UML Tool are you at other companies using Can you recommend any I personally use Pacestart UML Diagrammer and I like that software. I also have used Rational Rose, which is good but too ...Show All

  • Audio and Video Development LOOKING FOR A TRAIL OF VISTA

    I AM LOOKING FOR A TRAIL OF VISTA CAN YOU HELP Hi Paul, Sorry but this isnt the right forum for joining the Vista Beta program. Thanks, Prakash Channagiri ...Show All

  • Visual Studio 2008 (Pre-release) Media Center API for standalone WPF

    Hi guys. Can i use Media Center API in standalone wpf apps I want to use the remote control functionality in wpf applications. Thanks. Currently there is only support for XAML Browser Application (XBAP) integration with Media Center on Windows Vista. If your objective of using standalone WPF apps is solely for the full trust privileges such apps enjoy, then you can launch the XBAP from local machine, or even if deployed from the Internet, employ the ClickOnce Trusted Publisher -based elevation model. This is kind of how the dashboard on the HP Touchsmart PC is modeled. ...Show All

  • Commerce Server Controls\ProductList.ascx

    I have added new columns to the data grid and am now adding new Template Fields to the code behind the page. My question is how do I reference a field I added to the ProductDefinition (so a custom field). All of the code snippets I tried don't seem to work. 1. Container.DataItem["xxyfield"] 2. (CatalogItem)Container.DataItem["xxyfield"] 3. ((CatalogItem)Container.DataItem)["xxyfield"] I also tried creating a function and used item["xxyfield"] Please Advise. Yup, investigating this was item number 3 on my list of things to do today.  Sorry it took so long to get back to you. I have it working with the following: < asp : T ...Show All

  • Windows Forms How do I change the source of a datagrid?

    I have a very simple form with 1 grid and 2 buttons on it. I would like to set the grid's datasource from one table adapter to another. I tried seting up 2 separate databindings and changing the datasource from one to the other, with no luck. Here's the code that I am using to change the datasource and then fill it. Any suggestions would be greatly appreciated. this .dataGridView1.DataSource = dataSet1BindingSource1; this .sO_TYPETableAdapter.Fill( this .dataSet1.SO_TYPE); Thanks, jay0555 Thank you so much. Here's my final code that worked. I also had to remove the properties that I had set for the grid. They were holding it up. dataGridView1.DataSource = null ; this .dat ...Show All

  • Visual C++ How do I copy a class instance with a vector of instances of it's own type?

    #ifndef _NODE_H_ #define _NODE_H_ #include "point.h" #include <vector> using namespace std; class node { public : node(); ~node(); point node_position; bool operator == ( const node &) const ; point grid_position; bool walkable; bool grid_exit; vector<node> neighbors; }; #endif   In the above code I need the vector of nodes to properly be copied when I use the assigment operator and on the surface it appears to work just fine with the default copy constructor provided by the VC++ compiler.  In usage I used the vector of nodes to find other instances of type node in a vector of nodes.  However, the vector of nodes ...Show All

  • Visual Studio How to create a "custom build" project with VS2005?

    I am designed a "custom build" project under VS2005, the purpose of this project is to initialize a database environment (the build is based on NAnt but it could have been MSBuild). Question: how can I define a "custom build" project under VS2005 For now, I have simply used a "solution directory" instead of a project. Is there a better way to proceed Thanks in advance, Joannes http://www.peoplewords.com Could you be more specific about what a "custom build" is . When you say it is based on nant it makes me think that you have a target as part of a nant build file which has tasks which will fill the database. You could rewrite this in MSBuild (or just call nant on your nant ...Show All

  • Software Development for Windows Vista How to set values to the activity properties at runtime

    I have created a sequential workflow and added two activities in the workflow say smtp mail activity and one more and saved the workflow as XOMAL file. I want to use the XOML file and run the workflow. While running I want to set values for the activity properties. For example for Mail activity I want to retrieve all the browsable properties and set values to the properties at runtime. How to retrieve the browsable properties at runtime How to set values to the properties at runtime. Please Help. Regards Balamurali Where do you want to be setting the value from, within the workflow or from the host From your question is sounds like you want to be able to directly set an activity's properties from the ho ...Show All

©2008 Software Development Network