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

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

vineet1408

Member List

Grae Foster
mtower
RFDID
AndersBank
mobigital
Larry3228
MHR
Rajesh batchu
Monte Chan
Kenny1815
Anton__
Kirt C.
roxtar
morphius1
Bertrand Caillet
Vayse_Dev
jcm21
Josh Dugan
Stephan Zahariev
Ramanuj
Only Title

vineet1408's Q&A profile

  • Visual Studio Express Editions Treeview NodeMouseClick Event Not Working Properly

    Hello, I have the following code in a Treeview NodeMouseClick event: Try If e.Node.Level = 1 Then ListView1.Items.Clear() Dim nd As TreeNode For Each nd In e.Node.Nodes ListView1.Items.Add(nd.Text, 0) Next Else ListView1.Items.Clear() End If Catch ex As Exception MessageBox.Show("Select a category.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error) End Try If I select a level 1 node, my listview1 is loaded with data from the level 1 node's nodes. If any other level (0, 2, etc), then the listview is to be cleared. However, if I click a level 1 node and then immediately click a level 2 node, the listview DOES NOT clear. I have to click another ( ...Show All

  • Visual Studio Express Editions Image as Thumbnail in Data Grid?

    I did a search through the knowledgebase, but couldn't find anything about this. I have a SQL Database, and want to display an image as a thumbnail in one of the data fields. I cannot figure out how to do this, but figure it must be possible. Any help would be greatly appreciated. I would like it to take a large image and resize it automatically for the thumbnail, but don't want to impact performance too badly, so any suggestions would be greatly appreciated. Thanks, -Matt That's not what the code said. I was giving you an example. You need to instantiate an image class as a class. You need to get your sql data into it and convert it into a thumbnail. System.Drawing.Image.GetThumbnailImage ...Show All

  • SQL Server Can MSDE 2000 upgrade to SQL Server 2005 Standard Edition directly?

    According to this http://msdn2.microsoft.com/en-us/library/ms143393(d=robot).aspx , it seems that it cannot. But is this a complete chart Thanks for any help, Peter Hi Glenn, I have just tried it and it is blocked by upgrade rules. I'm speculating that the sql server 2005 in sbs is not really standard edition but workgroup edition. Peter ...Show All

  • .NET Development .net WebBrowser Click Pop-ups

    How would I bypass a certificate pop-up using .net 2.0 web browser And it cant be by using sendkeys. If you have just one certificate, you can select form the internet options. Security - Custom Level – and look for “ Don't prompt for client certificate” and change it to enable ...Show All

  • SQL Server AggregateFunction = None

    Hi everibody. I use a AggregateFunction = None for a measure (price for article). When I go in a client Olap, every data is Null. Where I wrong Tank you Sorry Mosha. For first tank you, but..... I read that leaf of a hierarchy take value from Fact table, then the total or subtotal don't exist, but value for leaf must me exist. Instead, I never see data Bye from Florence Marco ...Show All

  • .NET Development Odbc and OleDb to VFP with tables of 64 or more fields and records of 1000 or more problem

    I am trying to move data from SQL into VFP tables. On this particulare table i have 80 columns and approx 14000 records. I have the Data in a DataSet and create an insert command. I found the odbc has a problem with more that 64 columns and more that 1000 records as shown below. I thought I would try OleDb and it has the same problem. Any idea of a workaround This is ridiculous. Gary http://support.microsoft.com/default.aspx scid=kb;en-us;275577 Hi Gary, In most instances, OLE DB is definitely a better choice than ODBC. I'm surprised you have the same problem with OLE DB. Your table is well within FoxPro's table size limitations. Without seeing your code and your table it ...Show All

  • Smart Device Development Getting and adding to resources

    i want to add and get some pictures from resources... using c# how can i do this.... Thanks for the helping hand. Ilya Tumanov wrote: See this sample. Make sure to adjust namespace and file name in the call to GetManifestResourceStream() to match your actual namespace and file name. ...Show All

  • Visual Studio 2008 (Pre-release) [WCF-RC1] Adding claims in UserNamePasswordValidator

    OK, another dumb *** question (folks, I am _trying_ to research these things first before bothering you, and I'm starting to feel like a child who can't do his homework!) My STS is based on the Federation example in the RC1 release, and it uses a custom UserNamePasswordValidator to validate the client credentials. In the Validate method, I look up the user in the DB, validate the password etc and return true. Then, within the GetIssuedClaims override that "Issue" calls, I need to create the claims that will be added to the SamlToken. However, the values of the claims that I want to add are stored in the DB in the row that I just looked up in the Validate method, and I really don't see why I would need to look them up again. How c ...Show All

  • Windows Forms How to get list of Processes and their file name/path? - Experts respond plz

    Hi All, I've spent two days on google trying to find a suitable solution for getting the full path of the running process but invain.My question is very simple I want to know the full path of the running excel instances. for example if I've 2 instances of excel running currently, I need to know the full path name including drives and directories.I can get the base exe file but not the full path i.e., I can easily get the C:\Program Files\Microsoft Office\OFFICE11\excel.exe path but not some thing like "c:\rama\xyz.xls" through either vb6 or .NET solution. Is there anyway to get the full qualified path from the list of running process I used the following function but it only gives filetitle but not the full pa ...Show All

  • Visual Studio 2008 (Pre-release) Best approach for migrating projects.

    Hello All, I am migrating some VB.NET 1.1 code to WPF C# (.NET 3.0). Here is what I have done till now: Before we move on, remember that the existing application is GDI intensive application and we are migrating JUST the graphics part to WPF for performance reasons. So the approach has been, 1.) Migrate from VB.NET 1.1 to C# (I have used some conversion utility to do this job, although the result have been not so good, it has helped me get a basic structure ready) 2.) This C# code is at most .NET 2.0 compliant, because of the namespaces it uses. Namespaces like System.Windows.Forms, System.Drawing, System.Drawing.Drawing2D etc have no place in WPF based applications (or .NET 3.0). 3.) I am finding the equivalent namespace ...Show All

  • Visual Basic how to initialize System.Collections.Specialized.StringCollection

    Does anyone know how to initialize a My.Settings value of the type System.Collections.Specialized.StringCollection during runtime You should be able to access the setting as a normal string collection and initialize it like so My .Settings.Names.Clear() My .Settings.Names.Add( "Jared" ) ...Show All

  • Visual Studio Express Editions Custom shaped Form?

    I'm wondering is it possible to have a form that isn't a square I want to have a form with a menu sticking off the side, so that it would stick out. Is this possible Take a look at this tutorial on making non-rectangular forms . ...Show All

  • Windows Forms How to launch a .swf file when button clicked?

    I am new to VS.NET C# so bare with me. How do I launch a .swf file within the same directory as the application when a button is clicked Your help is much appreciated. Okay, System.Diagnostic.Processes.Start("filePath") works but how do I specify a relative path For example: I tested: D:\Tutorials\MyApp\Sites\launch.swf and it works I want to have something like this: ~\launch.swf ...Show All

  • Windows Forms How to code "Find" feature in .NET Browser control?

    Hi Guys! Any way to code the "Find" feature using the .NET Browser control Matt i was a bit intrigued by this problem, so i've been playing with it a bit. i have some more code examples for some more advanced find features, such as find next, backwards find, etc. it's all based off of the MSHTML COM interfaces, which are a bit zany, but provide a lot of functionality for this kind of stuff. let me know if you would like more examples. ...Show All

  • SQL Server Error in SSRS Expressions

    I am having an expression which is supposed to give me the values selected in a multivalued input parameter. I have tried following options however everytime it gives me error. Could someone let me know what might be the issue here. 1. Expression : =Parameters!i_Category.Label Output: The Value expression used in textbox ‘textbox47’ returned a data type that is not valid. 2. Expression : =Parameters!i_Category.Label.ToString() Output : System.Object[] 3. Expression: =CStr(Parameters!i_Category.Label) Output: Error: Conversion from type 'String()' to type 'String' is not valid. Take a look at this link for more information about parameters and working with multi-valued parameters. http://msdn2.microsof ...Show All

©2008 Software Development Network