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

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

fulish1

Member List

Ange_
Laxmikant_it
abhas
JBanker
Jim Agla
gorshing
Noel Rietman
white2grey
Victorious
Cuzzlor
johnvms
Michael Vanhoutte
vijaysargari
melberti
hammar
Toni Greco
pdns
Davids Learning
LoSko
Ride44
Only Title

fulish1's Q&A profile

  • Visual Studio Express Editions 1 If Statment to run only?

    Here is the code i made: Private Sub Button2_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click If Button2.Text = "Summit" Then Button2.Text = "Reset" End If If Button2.Text = "Reset" Then Button2.Text = "Summit" End If End Sub the problem with that is that once you click summit it makes the button say reset then the second if makes it back to summit when i want it to stay on reset please help me, i dont know any other commands that would fix this... SJWhiteley wrote: I.E. I'm not sure what the relationship between ' mountain climbing' and 'reset' is - there seems to be a tenuous relationship between the two texts. ...Show All

  • Windows Forms Selected Colors Don't Show Up in ToolStripMenuItem when RenderMode is System with XP Style?

    I'm having an issue where if menus are using RenderMode.System, the colors that I set the tool strip menu items to be don't show up, and, actually, the text color turns transparent (I believe) and completely disappears. I do code like this: Dim ts as ToolStripItem Dim fileMenu as New ToolStripMenuItem("File") ts = fileMenu.DropDownItems.Add("One") ts.BackColor = Color.Orange ts.ForeColor = Color.Blue If I use Windows Classic Style with any RenderMode, the colors show up with the correct text/back color. If I use XP Style with Professional or ManagerRenderMode, they show up properly. It only breaks on XP Style with RenderMode.System. I can't even see the word "One". If I take out my styling, it comes out as usu ...Show All

  • Windows Forms Setup Project

    Hi, I have VS 2005. I have not created an app that needed to be installed until now. How does one accomplish this There is a Setup Project and a Setup Wizard. Is there any doc's for VS2005 to show how to create an .msi Thanks Jeff Thread to be moved to the appropriate forum, in your VS2005 Std/Pro version, in your solution, add a setup & deployment project. Follow this guide which will hopefully get you started http://msdn2.microsoft.com/en-us/library/2kt85ked.aspx - includes walkthrough http://msdn2.microsoft.com/en-us/library/wx3b589t.aspx http://msdn2.microsoft.com/en-us/library/fyh6k4k4.aspx http://www.exforsys.com/content/view/1607/350/ http://www.codeprojec ...Show All

  • Visual Studio How do I implement Nested Project Wizards?

    I have a situation where I am using nested projects. I have reviewed the managed (C#) sample to see how it is done. Is there a way to allow users to add and remove the nested projects the same way Visual Studio does it The help file mentions that I need to implement the AddProject command. I do not see how to do that. I would like for the user to be able to context click on the parent project and have an option to Add a project. This would then display a dialog that would allow them to select a wizard from the available project options. I would also like for the user to be able to Remove the project by context clicking. None of the language projects in VS 2005 allows you to add sub projects dynamicly toda ...Show All

  • Visual Studio Express Editions How to attach event to each HtmlElement

    when I click on a Element <U> on the instance of IE .How can I get the Element was fired. ...Show All

  • Gadgets Get the mouse position

    Hello, I'm not familiar with javascript, and I'd liked to get the position of my cursor, and to display it in my gadget. My goal is to create a gadget that calculates the distance traversed by your mouse ... Thanks for your responses. The only time you can track the mouse outside of a Gadget is through setCapture() . But it only works whilst the initiating mouse button is pressed, or the mouse goes over a window relating to Sidebar. ...Show All

  • .NET Development force garbage collection

    can we force garbage collection to be run In order for garbage collection to occur, no application threads can be running. Forcing a garbage collection means you're forcing your threads to suspend. If your threads don't really support being suspended for an indeterminate amount of time then you may run into problems by forcing a garbage collection. e.g. if your thread locks a region of a file temporarily while processing, that lock may remain much longer than you expect. Another problem is WaitForPendingFinalizers blocks your program for an indeterminate amount of time, so you don't want to call it on your main/UI thread. ...Show All

  • SQL Server Report Deployment Issue - The permissions granted to user 'domain\user' are insufficient for performing this operation.

    What permissions do you need to deploy reports to a production environment I have a fresh install of Reporting Services on a Win 2003 box and i get the error mentioned above when trying to deploy my report. Any ideas Anyone............ I tried with the 'Content manager' role but it was still not working. However having the Admin rights on the folder and it was alright. ...Show All

  • .NET Development Could not find installable ISAM.

    I got the "Could Not find installable ISAM error" while uploading an Excel file in my application. The connection string uses the Microsoft.Jet.OLEDB.4.0 provider with following parameters Provider=Microsoft.Jet.OLEDB.4.0;Excel 8.0; Extended Properties=HDR=No; IMEX=1. I checked the registry entries as mentioned in the "Retrieving Data from Excell 2003-Could Not Find installable ISAM" post and even registered the "Msexcl40.dll" again. Even then I got the "Could Not find installable ISAM error". So I restarted the IIS Server. Even then the problem persists. What else could be the problem Thanks and Regards, Little Office is not installed on this machine. ...Show All

  • Visual FoxPro Converting a DAT file into a BDF file

    Hello all I am trying to import a file into FoxPro, it has a DAT extension, is there any way I can convert this to a DBF file Thanks Hello My trouble is that I do not have a data layout of the file. It was a COBOL program that created the file. Thanks ...Show All

  • Software Development for Windows Vista Retrieving properties from current Workflow Instance within Host

    What is the correct way for retrieving "properties" from my custom activities within the Host application From the reading I have done, I figured if I used the Activity.TrackData(xx) then this would persist the data (I am using thw SqlTracking). Then in my host I could use SqlTrackingQuery to get at this data. So here is my scenario: Start Workflow Instance Run a Custom Activity Call TrackData(xxx) Create a delegate for QueueItemAvailable Return "Executing" Host executes WorkFlowIdled Here is where I want to get the data(xxx) so I can determine if I want to unload/persist, however, when I try to get the SqlTrackingWorkflowInstance for the workflow instance it is null Any pointer ...Show All

  • .NET Development Bug with DeriveParameters?

    Consider the following code to discover the param's of a stored procedure... static void Main( string [] args) { string spName = "MyProcTest" ; using ( SqlConnection connection = new SqlConnection ( "Data Source=MyBox;Initial Catalog=MyDb;Integrated Security=SSPI" )) { SqlCommand cmd = new SqlCommand (spName, connection); cmd.CommandType = CommandType .StoredProcedure; connection.Open(); SqlCommandBuilder .DeriveParameters(cmd); Console .WriteLine(cmd.Parameters.Count); foreach ( SqlParameter sqlParameter in cmd.Parameters) { Console .WriteLine(sqlParameter.ParameterName); } } Console .ReadLine(); }   If you create the following procs...   ...Show All

  • SQL Server group by

    Can you please tell me the difference between saying Select min(x),y from table group by y _____________________________________ Select x,y from table group by x,y having x = min(x) Bob: Examine this: set nocount on declare @table table (x integer, y integer) insert into @table values (1,1) insert into @table values (2,1) insert into @table values (2,1) insert into @table values (2,3) insert into @table values (3,4) -- Can you please tell me the difference between saying Select min(x),y from @table group by y -- _____________________________________ Select x,y from @table group by x,y having x = min(x) -- -------------------------------- ...Show All

  • Visual Studio Crystal report: resizing papersize

    Hello! I am having a problem resizing the papersize of the report with my desired dimensions which is 13"x17" or any other dimensions for that matter. Need your expertise guys .. Thanks!! Hey, thanks a lot! I'm going to try it just now, however, JFYI here it is the code I use: Dim oRpt As New rptMyReport() oRpt.SetDataSource(dsMyDataset) Dim margins As PageMargins ' Get the PageMargins structure and set the ' margins for the report. margins = oRpt.PrintOptions.PageMargins margins.bottomMargin = 0 margins.leftMargin = 0 margins.rightMargin = 0 margins.topMargin = 0 ' Apply the page margins. oRpt.PrintOptions.ApplyPageMargins(margins) oRpt.PrintOptions.PrinterName = " ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. CreateTexture MipMaps

    Hi, If I change the MipLevels below to 1, everything works just fine; However, I also want to create my own mipmaps for the texture and somehow attach them to the texture. I guess my question is, how do you attach mipmaps to the texture I tried adjusting the miplevels to 3. If I use a 4x4 I should have a total of 3 miplevels: i.e. 2x2, 1x1. An Array of 5x5 should be enough. Do I have to play with the SlicePitch I thought that was only for 3D textures. The error I get is: First-chance exception at 0x77c46fe2 in mipmap.exe: 0xC0000005: Access violation reading location 0xcccccccc. Unhandled exception at 0x77c46fe2 in mipmap.exe: 0xC0000005: Access violation reading location 0xcccccccc. A snippets of code is provided below. Thanks ...Show All

©2008 Software Development Network