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

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

braz

Member List

pmont
qrli
sunny123
Richie Thorpe
Kzin
GrimStoner
Alanu
enric vives
NCGordon
fermar84
RAB36
MyKidsDad_62
danadanny
Info_Peter
Dave9999
MosheDeutsch
jdrawmer
snowmt
Ludo-R
cfaulk
Only Title

braz's Q&A profile

  • Windows Forms "Parameter incorrect" error adding Setup project to solution

    If I try to add a Setup Project to my solution, I get an error stating the parameter is incorrect.  This also happens if I try to create a new solution based on the Setup Project.  Any help Robert, I've had a chance to try your suggestion. Removing the key had no effect on the problem. some additional information: I've moved the project to several different computers and they all exhibit the same error. the error occurs immediately after the build is finished and the "deploy started" message appears. I do have connectivity with Active Sync (I can manually copy my app into my run directory and i can use the "device connect" in Tools in VS2005. So I'm reasonably convinced that this is an artifact of the ...Show All

  • Windows Forms How to check if there are new/edited row(s) in DataGridView

    Hi all, I have a tab control in my form. I've put different datagridviews into separate tabpages. All my datagridviews are bound to a bindingsource. I'd like the tableadapter to update, like auto-saves, whenever there are edited/inserted new rows in the datagridview. I've tried DataGridView.IsCurrentRowDirty but it doesn't saves the rows. Thanks in advanced for any reply. Private Sub TabControl1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles TabControl1.SelectedIndexChanged If addStatus = True Then 'Autosaves when user moves to another tab SavetoDB() addStatus = False Else 'MessageBox.Show("Position: " & Me.MAILBindingSource.Position & ", MailNo: &quo ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA 3d models invalid texture

    Hello, I wish to use my 3D models I've created in 3D Studio Max. This is possible using the export function. XNA can handle the FBX format. However, employing this exported model gives the following error: Error 2 Invalid texture. Face 0 is sized 367x480, but textures using DXT compressed formats must be multiples of four. It is hard to believe all of my textures should be of the format multiples of four. This leaves a lot of the available 3D models in the dark. Is there any way of avoiding this error Or am I missing something Thanks in advance. I think just resize your texture to size of (2)^n  X  (2)^n  that is multiple of 4   for example   Face 0 is sized 36 ...Show All

  • SQL Server Analysis service does not remain started

    I have installed SQL Server 2005 Standard Edition for our Team Foundation Server install. I have verified the installation and all seems well, except that the Analysis Services service does not remain started. I get a message like "Some services stop if there is nothing to do." The Analysis service needs to be running in order for the TFS install to succeed. How can I get the Analysis Services service to remain started Thanks in Advance Are you using the autostart parameters during install The default is to not start these services. Here's the snippet from template.ini: ;-------------------------------------------------------------------- ; To use the *AUTOSTART features, specify ...Show All

  • SQL Server Finding all views with a specific name, in all databases

    Hi, We are migrating to SQL Server 2005 from 2000 and we have a view created in many of our databases. That view must be changed after the migration because it uses system tables and does not return the correct information in SQL Server 2005. To do that, I want to create an SSIS-package that loops through all the databases on a particular server. If that view exists in the database, I want to run a script that change the view. What I try to do: Set up a For Each Loop container with Foreach SMO Enumerator Set the connection to my server Set the Enumerate property to "SMOEnumObj[@Name='Databases']/SMOEnumType[@Name='Names']" On the Variable Mapping page, place Index 0 in Variable User::dbName In the For E ...Show All

  • Windows Forms about datagrid in vs 2003???

    hi, everybody, I have a problem about datagrid in VS 2003. I want to make a datagridcell's forecolor different from the next datagridcell's forecolor. How I do this.... http://windowsforms.net/FAQs/default.aspx PageID=2&ItemID=412&CategoryID=3&tabindex=3 ...Show All

  • Visual C++ Annoying change from VS 2003 to 2005: Can it be rectified?

    I develop "simple" C++ console programs in a university course. In Visual Studio 2003 I could right click on a C++ source file in the editor and there was an option to add this currently-being-edited file to the current project. That right-click option has gone missing in Visual Studio 2005. Its absence in very annoying and I'm wondering if there is a quick way to put it back You can have a different view of the project (directory view) where files in the project and external will be listed. You can just right click on the file and choose include to project. Thanks, Ayman Shoukry VC++ Team ...Show All

  • Smart Device Development Button Control

    I apologize if this is too simple an issue, but I am just beginning a project targeted at smartphones (e.g., Treo 700w). Why is there no button control in the toolbox for these devices I am porting an application from desktop and other Pocket PC devices, and I need the same look/feel on each device; i.e., I need to use buttons. Correct, Treo 700w is Pocket PC so you should use PPC project for it. What do you mean by "phone related controls" There's phone application running which is irrelevant in this case and there's TAPI for you to call for telephony functionality (e.g. make call). Managed wrapper is available for TAPI. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Beginner shader question - I'm missing something obvious

    Hello, all: I'm working on a simple space sim, and I'm trying to render a weapon shot using an HLSL shader. I haven't used a shader before, so I've read through a bunch of code samples, and picked up a couple of books, so I *think* I (kind of) understand what's going on with vertex and pixel shaders. The problem I'm having is that when I enable the vertex shader the mesh I'm rendering is drawn in black. If I disable the vertex shader (comment it out), the pixel shader outputs the color I expect. I've tried it with a mesh I created and with a mesh created via Mesh.Sphere with the same result. Here's the shader code (it's almost an exact copy of the simple pixel shader code from MDXInfo). As you can see, it's totally simple: uni ...Show All

  • Visual C# Searching Text or Unicode strings

    I would like to be able to take 1 file with entries, like: COMPARE FILE: _________________ siteone.com sitetwo.com sitethree.com _________________ And search a file for matches... But it seems like if I loop through each entry (siteone.com, sitetwo.com, etc.) it will take forever. How can I search contents of files to compare to see if there is a string of text in the file It needs to be quick because it will be searching tons of files... I could check with each loop, but then if there are 2000 entries in the compare file, and it takes 2 seconds for each compare, then that would be like 30 minutes per file... I am just throwing numbers out there, so I am sure it is a little quicker than that, but if I am doing 100 files a minute, ...Show All

  • Visual Basic Check one form is opened or not?

    hi i want to check whether one form is open or not i have mdi form and 14 forms.suppose i oppend(through menu) one from payment.. code is Dim frm as new Frmpayment() frm.MdiParent = Me frm.Show() and i oppend some other form.. after that if i try to open i want show that opened form.it may be minimised . i want to maximize that form and set focuse to one control. if i delcare frm ( Dim frm as new Frmpayment()) in class level it also create an error.. "System.ObjectDisposedException: Cannot access a disposed object named "frmTest". Object name: "frmTest"." this will happen only in second time .means after closing that form thanks in advance For Each f As Form In My . Appli ...Show All

  • Visual Basic Raise SaveFileDialog's FileOK event?

    Let say my application have two buttons, button to open file and save file. When the open button clicked, the open dialog will open and let user select a file, after selected, user will need to click the save button to save the opened file to given (coded) location, I do not want the save dialog to open, instead, I wanted the file to be saved when user click the save button, is it I need to raise the FileOK event of SaveFileDialog or is there any other better way Thanks in advanced. Thanks Tall Dude, I'm using VS2003, and I seems like didn't notice there a File.WriteAllText, instead, I found File.WriteText, is it the same ...Show All

  • Windows Forms Can't get DrawItem event any more, in some special case

    This interesting thing was found by use of DebugView to monitor the all events. Suppose that there are 2 controls, one is propertyGrid, one is myListBox, which is a subclass of ListBox. myListBox uses OwnerDrawFixed mode, so it has to draw all items manually. However, in some mysterious case, I found that when I repeatedly opened and closed the propertyGrid, myListBox may never raise any DrawItem event. I output all events to DebugView, then found that WM_PAINT was there, but didn't WM_DRAWITEM. Also it can't restore from this bad status no matter what I did (move, refresh, resize, maximize, minimize...), until I recreate another myListBox. I think WM_DRAWITEM is nowhere to be manually emitted, since it's managed by control. ...Show All

  • Architecture Claims at Resource partner in ADFS

    Hi, Im working on ADFS across domains.I have done claim mappings manually against Role-Claim and at the resource partner side Claim - Application for a demo. In real time scenario il have to do the mappings programmatically thro ADFS api.I want to know where the claim mappings are stored at both(Account and Resource) ends. I searched the articles from microsoft.All they talk abt is the token-claim in the form of cookies. Any idea Secondly,should i be running Windows 2003 Server for Resource partners ...Show All

  • Visual FoxPro System resolution

    Hi. How can I find out what the system resolution is, and how can I change it via FoxPro Thanks If the form is too short, the correct solution is to group your sets of controls in some logical way and place them in different pages on a PageFrame control. If the process of filling the form is formalized in a set of steps (e.g. step #2 must be done after step #1 and not jump to it directly), then you could use a wizard which is nothing more than a PageFrame with no page tabs showing and you control the page change programmatically. ...Show All

©2008 Software Development Network