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

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

hwiz

Member List

F.Costa
budbjames
Jeremy Schneider
Tryin2Bgood
bola shokry
Raulsassaa
Daniel Danilin
KSK
bw12117
Timothy Carroll
ComSpec
Odin_dark
chaza
Matty1stop
SoulSolutions
Taegello
Worf
Fusion54
Mark_Davies
AshishGupta
Only Title

hwiz's Q&A profile

  • Windows Forms Datagridview / Bindinglist display refresh question

    I have a datagridview control dgv on a form in a Windows app. I want to display data which is contained in a BindingList bl. Currently, I am binding the grid to the list using the datasource property of the grid: dgv.Datasource=bl; When I change data in the underlying objects contained in the bindinglist, the datagrid display does not update. I can get it to change if I re-assign the datasource and refresh the grid: dv.datasource=bl; dv.refresh; Seems to me that there should be a better way than to rebind the entire list B You need to call ResetBindings() on the BindingList. // Change object inside BindingList bl.ResetBindings(); Read more about it here. http://msdn2.microsoft.com/en-us/library/sys ...Show All

  • Visual Studio Assemply info task must be installed for all developers?

    Must the assembly info task be installed for all developers (As the < Import Project = " $(APPDATA)\Microsoft\MSBuild\AssemblyInfoTask\Microsoft.VersionNumber.Targets " /> is added to the project file) Also when I start the app from debug configuration from Visual Studio it modify the assembly info file. Can I only make this happen when I start from Team Build Or will this only happen the first time (I have not run team build yet). I was thinking about modifing my proj file as described in Guatam Geoenka's blog to get the assembly info task to work with team build. What I have done is check in the AssemblyInfoTask as a solution folder and include the files. Then just add this ...Show All

  • Visual Studio Team System The item [path] could not be found in your workspace.

    I'm using Visual Studion 2005 Team Suite to work on a .NET website, and have been experiencing an issue when I try to check out aspx files for editing. Everytime attempt results in the following error message... The item [path] could not be found in your workspace. The weird thing is I can open the file from the source safe folder, and I can check out vb files for edit that are located in the same project folder. I tried forcing a get on the source safe folder which resulted in all the files being updated locally, but I still can't edit the aspx files. Can anyone offer any solutions Thanks, amehrich Hmm Can you activate the traces and see what's going on when you checkout so we will have a ...Show All

  • Visual Studio Does /DEBUG flag in linker affect performance?

    Hi My question is if enabling the /DEBUG flag (Conf Properties->Linker->Debugging->Generate Debug Info) has an impact on performance Wouldn't that be the same as runing the project in DEBUG mode I wonder since I want to profile my application and I'm not sure if I should profile the debug och release version. Is there anyway to get debug information from a release version without using the /DEBUG flag What I want is the *.pdb file. Thanks, Martin Malek You can generate debug information in release version using program data base For VS 2005 Go to project properties. from there Configuration ->C++->General->Debug Information Format from there you can select Program from Different options available. HTH ...Show All

  • Visual Studio Tools for Office Can't edit text in RichTextBox (VSTO 2005)

    Hi, When I add a RichTextBox to my Word document at Runtime, my textbox displays correctly my formated text. But if I try to change the format ot some text in the RichTextBox once Word is launched, nothing happens! How can I enable the formating of text in the RichTextBox Thanks, Claudia Hi Claudia Well, when just discussing things, I think in terms of the UI :-) That's usually a good way to consider what's feasible and how it behaves / create a "proof of concept". All the toolbars are available (when you're in the Word UI, not the VSTO designer) through View/Toolbars. If you decide this kind of text box is workable, then record a macro when inserting and "formatting" one to get ...Show All

  • Visual C++ Some novice questions....

    Hey everyone.... , just started using MS Visual Studio recently for an application i'm making... and hit some problems, so any help would be very usefull :) (to Mods - if this is in a wrong thread, please move the post) first question is button related.... i have a button , which needs to be kind of ON/OFF style... (also have 2 procedures for those states - buttonClick1 & buttonClick2) now in the button definition i added the line this->button->Click += gcnew System::EventHandler (this, &Form1::buttonClick1); as you can see, the event handler takes only 1 procedure how can i implement to take the buttonClick2 on another click (i guess it has to do something with checking the button state, but i'm ...Show All

  • Visual C# How to deploy an embedded file?

    I have a very simple console application I've written that copies a file from a DVD drive to the local temp directory. What I'd like to do is make it as idiot-proof as possible (you know murphy's law regarding end users...); to that end, what I did is to add the file to the project. Now, what I'd like to do is just take that file and copy it to the temp directory. What's the cleanest and easiest way to do this (Yes, I'm new at this...) Thanks! Yep. That's it. The reason I'm doing it this way is so I have access to their environment variables, and also to make this as idiot-proof as possible. I can't really elaborate further. :) Also, would it be better to use this file as a linked resource, ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Programming Noobs

    I'm currently going to school for game development and have absolutely no experience with programming or any of the scripting languages. Will the GSE be "beginner friendly" or will I need to obtain some prior knowledge of certain tools in order to be able to use this platform Thanks, 93 from what ive read - bottom line is you will have had to have had some expereince of C# to use it. If you havnt then people are suggesting you download C# Visual Express studio now and begin working on HELLO WORLD type programs. I read a post - before about some guy want to create a House of the Dead style game... I think he thought it would be simple and some kind of point-and-click software to create is ga ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Errors with "glew32.dll" and I have no idea what it is

    First off, what is it I get the error after trying to run a few of my apps. "This application has failed to start because glew32.dll was not found. Re-installing the application may fix this problem" I've gone to glew.sf.net, but I have no idea what to do with the installed files. Any help ...Show All

  • SQL Server How can i make an updatable view???

    Please read this example: I got 2 datatables PersonName: wich contains IdPersonName, Name and IdPersonLastName PersonLastName: wich contains IdPersonLastName and LastName I know that i need to make a relation between Person and PersonLastName I want to make a view named Person: wich contains PersonName/Name and PersonLastName/LastName and i want to make updates to the two datatables when i insert data in the PersonView I hope someone can Help Me I Made This code ALTER Trigger Trigger1 ON dbo.PersonComplete INSTEAD OF INSERT AS BEGIN SET NOCOUNT ON IF ( NOT EXISTS ( SELECT C.Name, C.LastName FROM PersonComplete C, inserted I WHERE C.Name = I.Name AND C.LastName ...Show All

  • Visual Basic Help with SerialPort

    Hi everbody. I am using Visual Basic 2005 and create an application.My application get callerID value. I am add on form SerialPort1 , SerialPort1 PortName value set COM3 and write this function ; Function GetCallerIDValue() As String Dim CallerID As String = "" Using com3Port As IO.Ports.SerialPort = Me .SerialPort1 Me .SerialPort1.Open() Do Dim Incoming As String = com3Port.ReadLine() If Incoming Is Nothing Then Me .SerialPort1.Close() Exit Do Else CallerID &= Incoming & vbCrLf End If Loop End Using Return CallerID End Function and i am add Timer control and control the COM3. iff any data receive my function is working. But my form load and not workin ...Show All

  • Gadgets DOM and select object

    hi everybody, I have a lot of difficulties with the select option, to write all the option features in the drop-down list. In standart html, it works well : http://albidochon.free.fr/jeu3/test.html but can't resolve the dom code in js, it shows the select drop-down list, but it is empty. i found a lot of code to do this, but not in the dom way, and nothing in the msdn documentation. the problem seems to be in the js function : function tri(){ for (i=0; i< jeu(0).options.length; i++) fill and write the options fields......i miss this } I don't want to do iframe gadget or js innerhtml, so, so.... The js and css files are here http://albidochon.free.fr/jeu3/gadget.xml thank you for the he ...Show All

  • Visual Studio Express Editions Subroutine finding name of caller sub/function

    Boy, I sure am asking a lot of questions lately. You wouldn't know it by the amount of my questions but I actually do search the forum before I post, honest! There's got to be an easy answer to this question. I want to write a subroutine that will print out the name of the sub/function that called it. I'm writing a custom debug sub and I want it to print the name of the sub or function that called it. So, if Sub A calles Sub Debugger, I want Sub Debugger to print a message that says it was being called by Sub A . Thanks! Check out the GetCallerName routine in this thread ... ...Show All

  • Visual Basic Case Usage

    I am pretty much a noob programmer, but I'm getting the hold of visual basic pretty much. But in one of my programming attempts something is messed up, because as far as I know my code is good... Take this code: If you use the Catch...Try then in your exception statements, you could set the size value to an acceptable value (for example, default is 500) and then go on as if they had entered that value. ...Show All

  • Windows Forms How can I apply sql commands on a dataset?

    for example, I read data from a xml file into a data set, DataSet dSales = new DataSet(); dSales.ReadXml("Sales.xml"); How can I apply sql commands on the dataset dSales like, select sum(FQty),sum(FAmount) from dSales.Table["Sales"] group by F01 . As stated, select and filtering is done on one table only... which doesn't help so much if you want to join tables or use the exists clause to find related records not in the parent table. Good news and bad news. Good news is Linq does allow querying over datasets. Bad news is, it is still in CTP only. ...Show All

©2008 Software Development Network