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

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

jbap01

Member List

volleynerd
bhavu
MaggieChan
GuyVerachtert
Juliano.net
aconquija
David Lam
GregAbd
schmack
H.Saber
-JW
Namrata Prashar
Richard_Wolf
Alex1st
BobSun
MartinMalek
Belias
Rei Miyasaka
Mark Flamer
Jeff Lynch - MVP
Only Title

jbap01's Q&A profile

  • Visual Studio Express Editions project settings

    hello. i recently downloaed visual c++ express edition and am planning to utilize it while i begin to learn opengl. as per the instructions, i am told to create a win32 application, and go to project settings to add opengl libraries... i can seem to find project settings. how do i view the project settings of my project and successfully LINK the opengl libraries into my build environment thanks in advance. The project settings only appear when you have a project loaded, you can press ALT+F7 to view them. The easiest way to link the libraries is using the #pragma comment statement from your source files ie: #pragma comment (lib,"OpenGL32") #pragma comment(lib,"GLu32") ...Show All

  • Windows Forms Populate listbox in window1 from window2

    Hi How do i populate a listbox in window1 from window2. Have a lisbox named "listbox1" in window1. Cant just write "listbox1.Items.Add()" to populate the listbox from window2 Regards Fredric Hi., you should implement one public method in Form1 which add item to listbox1.Items. In my opinion, you should not give public access to your controls in form1. And passing form1 as parameter to form2 constructor is only pass the reference of form1; not a new instance. If you don't have the reference of form1, how can you access it. public class Form1 : System.Windows.Form { ... ... ... public void AddItemToListBox(object item) { this.listbox1.Items.Add(item); ...Show All

  • Software Development for Windows Vista problems on standard user analyzer tool

    hi, 1.) does application verifier is need to run the SUAnalyzer.msi to it is needed just to launch an application in SUA 2.) does SUA work only in .NET framework 2.0 3.) does the SUA launch only .exe applications or it can launch also .msi files thanks in advance... regards, divya 1) I think SUAnalyzer.msi will install SUA even if Application Verifier hasn't been installed, but SUA won't run without AppVerif. 2) Not sure - I'm pretty sure it's .NET 2.0, but not certain. 3) When you "run" a .msi file, the file assocation invokes this command line: "%windir%\System32\msiexec.exe" /i "%1" %* So you should be able to test a .msi by specifying msi ...Show All

  • Windows Forms Find Values in a DataTable

    I am trying to create a log-on form for my application. I have two textboxes, one for UserID (txtUserID) and Password (txtPassword). I need the application to search through rows in a datatable and find the txtUserID.text and txtPassword.text values in the same row. If the application cannot find the values in the same row, then it should not continue to the next form. If anyone could help me, that would be great. you would need to go through each row and column to get your values, or databind them to another datagridview or something. for each currentRow as DataRow in theResults for each currentColumn as DataColumn in theResults MessageBox.Show(currentR ...Show All

  • .NET Development Threads work different in VS mode and outside VS?

    Piece of code private void SomeMethod() { Thread myThread = new Thread ( new ThreadStart (FillControlValues)); myThread.Start(); progressMeter.ShowDialog();// it inherites from Form and is progress meter bar } private void FillControlValues() { //some time-consuming operation progressMeter.DoClose() //a method where Close method is called } When SomeMethod is called the second time in the red line there is an exception. Cannot access a disposed object. This bug occurs when I run app outside VS.NET IDE. Just running .exe file. This error didn't occur in Framework1.1. It occured since I migrated from 1.1->2.0.  This is serious problem for me and I have ...Show All

  • SQL Server Error rsAccessDenied

    When I try to deploy one of my Reports I receive the following error : Deploying to http://localhost/ReportServer Error rsAccessDenied : The permissions granted to user 'BOGDAN\IUSR_BOGDAN' are insufficient for performing this operation.   That is because I configured IIS for those 2 folders ReportServer and Reports to accept anonymous . If I turn anonymous off and let windows authentification on he lets me to deploy the project , but I can see anymore http://localhost/Reports and http://localhost/ReportServer because he asks for password and I don't have any password set for the computer , nor for SQL Server . I just use Windows Authentification for all.  I searched through this forum but nothing is significant ...Show All

  • Visual Basic Interfaces and Genric Lists

    Hi, I hope someone here may be able to help me with a problem I am having implementing an interface. I have an interface defined like so Public Interface IBusinessEntity Sub Fill( ByVal reader As SqlDataReader) ' Problem occurs here Function ListItems () As Generic.List( Of IBusinessEntity) End Interface The problem is that I am trying to add a function that will create a genric.list(of The Class that implements the interface ). At the moment, whenever I change the method in a class the implements this interface I recieve an error. eg Public Class File Implements IBusinessEntity Public Function ListItems As System.Collections.Generic.List( Of File) Implements IBusine ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. RenderState declarations

    I was wondering if render state declarations in a HLSL effect pass work on the 360, and which states its limited to because of the lack of a fixed function pipeline ...Show All

  • SQL Server Toolbox is all grayed out and IUIService Could not be located received

    Every time I try to edit a Control flow or Data flow task I am getting the following error. My toolbox options are all grayed out also.  TITLE: Microsoft Visual Studio ------------------------------ The service System.Windows.Forms.Design.IUIService could not be located. For help, click: http://go.microsoft.com/fwlink ProdName=Microsoft%u00ae+Visual+Studio%u00ae+2005&ProdVer=8.0.50727.42&EvtSrc=Microsoft.DataTransformationServices.Design.SR&EvtID=UnableToLocateService&LinkId=20476 ------------------------------ BUTTONS: OK ------------------------------ Any help is appreciated Gulden Try resetting toolbox (right click, Reset Toolbox). If it does not help - close VS ...Show All

  • Visual Studio 2008 (Pre-release) Loading objects to ResourceDictionary from external XAML file

    Lets say I have a ControlTemplate, or ResourceDictionary in somr XAML file. Is there a way to load this object into *another* ResourceDictionary. Important thing is that after loading this *another* dict must contain object of the same type as the root element of the external XAML file. any suggestions Thanks Anton The markup structure is as you show, but what is more significant is the way resource lookup is done with merged dictionaries. The framework first looks for a resource in the main dictionary, then in merged ones, as if they create an additional, higher scope. (This is explained in detail in a page linked from the above one.) So, I think this feature is appropriate for your purpose. ...Show All

  • Visual Studio Team System Reporting on Plain Text Fields in Work Items

    Hello. I'm relatively new to the TFS game, but my company is jumping in with both feet, so I'm trying to get up speed. Anyway....I've modifed both the Task and Bug work items to include a Release Notes field (type is PlainText), and I would like to create a report that pulls the release notes for a particular iteration. I've discovered that PlainText fields cannot be put into the data warehouse, so I'm wondering if there is a solution to reporting on long text fields outside of simply writing a query for a report that spans the various TFS databases. Hi Brian, Welcome aboard! The biggest type that can go into the warehouse is a String, so you're right that PlainText cannot be put into the warehouse ...Show All

  • Visual Studio 2008 (Pre-release) Newest Interactive Designer xaml code compatibility ?!?!?!?

    Hello, im trying to create a xbap application using a xaml code done with the newest Interactive Designer version but i just get errors while debuging in VS2005. Is the Expression Apps code not 100% compatible with VS2005 Im also using all the newest versions of vs2005,orcas,sdk,extension,netfx3rc1. best regards - lleoneye Hello, it's a simple rectangle but with more objects in scene i get other code errors, too. <Grid> <Rectangle Stroke="sc#1, 1, 0, 0" Fill="sc#1, 1, 0.9154789, 0" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="138,129,189,95" Width="Auto" Height="Auto" x:Name="Rectangle& ...Show All

  • Visual C++ Compile Errors

    Hi all, I am trying to build a Win32 project under Windows Vista using VC++ Express. I am getting the following compile errors. The same project compiles fine on VC 7.1 on Win XP. I get Error in winnt.h. 1>c:\program files\microsoft platform sdk\include\winnt.h(894) : error C2988: unrecognizable template declaration/definition 1>c:\program files\microsoft platform sdk\include\winnt.h(894) : error C2059: syntax error : '(' 1>c:\program files\microsoft platform sdk\include\winnt.h(894) : error C2090: function returns array 1>c:\program files\microsoft platform sdk\include\winnt.h(894) : error C2988: unrecognizable template declaration/definition 1>c:\program files\microsoft platform sdk\include\winnt.h(894) : error C205 ...Show All

  • Visual Studio Documentation of constants in ProjectFileConstants

    Is there any documentation of the constants in ProjectFileConstants I'm procedurally building a Microsoft.Build.BuildEngine.Project and while I can guess what some of the elements and attributes do from looking at existing projects I was hoping to get some concrete information about the various Items that can live in a Visual Studio project. Thanx, -Ian Hi James, Yeah I saw that page, if you notice, the Description column is empty , and clicking through to each constant isn't any more enlightening. I guess most of the constants are self-explanatory, but there are a few that are strictly for meta-data, and some that are pretty cryptic. Thanx for the response though, -Ian ...Show All

  • SQL Server AS2005 Slow initial cube opening

    Hi We are having a problem in our AS2005 cubes that the initial openeing of the cubes is exceptionally slow. When the user connects though ProClarity, or I open the cube in the designer, the first report or first display of data takes about 2 minutes to return. Once it is open, the next query that you run is fine. If you exit the application, and go back in, you have to wait again for the first report. This is very annoying to the users and frustrating for me as I cannot see anything that could be causing this. We are running Windows Server 2003 x64 edition SP1 with SQL AS2005 x64 SP1. Has anyone seen this before or can point me in the right direction where to look to solve this issue. Thanks Michael Than ...Show All

©2008 Software Development Network