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

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

JVJ

Member List

lxm218
JavaBoy
DanMeyers
zensunni
Ferener
Vlastimil
Aaron Oneal
Jim Perry
edukulla
MarilynJ
PCSQL66
Assoft Design Group
Imesh
Tridex
KrazyMGA
RajMohapatra
EZ1976
donkaiser
mbr_rptusr
drakkan
Only Title

JVJ's Q&A profile

  • Visual C# Typed Dataset - No generated code?

    I'm using the designer(s) to create a typed dataset in Studio 2005. I get an XSD and an XSS file but get no 'cs' file or 'designer.cs' file. The 'Show All Files' option in the solution explorer is dimmed but seems to be 'turned on' because I can exclude a file and still see it in the list. There are no complaints from the wizard. I searched the C: drive thinking maybe the generated code got placed somewhere else by mistake. Nothing. I've tried this a couple of different ways including using a fresh project. I am pretty sure that this was working just fine at one point in time. The only thing I've done to the environment since then had to do with the ASP.NET AJAX Beta and the CTP for the same. Any ideas ...Show All

  • Visual Studio 2008 (Pre-release) accessing image pixels for images from siteoforigin

    creating a BitmapSource from a siteoforigin pack uri (pack://siteoforigin:,,,/asdf.jpg) in an XBAP app. my assumption was that i could access the pixels (CopyPixels) of the image since it was served from siteoforigin ... but i'm getting a SecurityException should this be working as a workaround, i saw another post that ended up using System.Drawing.Bitmap. Thanks, casey ok, ends up that CopyPixels works fine on the initial URI load, but PixelFormat.BitsPerLength was throwing the SecurityException ... so now i'm just hardcoding that value. but now the problem i'm getting is after doing some pixel manipulation, i put it back into a BitmapSource, and perform a ScaleTransform to end up with a Tran ...Show All

  • Visual Basic ComClass and backward compatibility

    Can anybody tell me the recommended way to expose VB.NET classes to COM if we expect the interfaces to change The Microsoft documentation recommends using the ComClass attribute (or template) for classes that need to be exposed to COM, but ComClass doesn't seem to have any provision for backward compatibility when I later add properties or methods to the class. If I just add public members to the VB.NET class, I get a COM interface with the same IID but with additional members. This violates the COM rule which states that COM interfaces must be immutable. Clearly I need to assign a new InterfaceID to the VB.NET class, while still implementing the old interface, and I am struggling to find any documentation on how to do this in a VB.N ...Show All

  • Visual Studio Express Editions Why does time show in Format$

    I want 1/20/2007. I get 1/20/2007 4:44:45 AM. Here is the code I'm using: Private Sub DateTimePicker1_ValueChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles DateTimePicker1.ValueChanged Dim dt As DateTimePicker = sender Dim str As String 'TextBox1.Text = Format$("{0:d}", dt.Value.ToString) 'TextBox1.Text = Format$("{0:M d,yyyy}", dt.Value.ToString) 'TextBox1.Text = Format$("{0:m d,yyyy}", dt.Value.ToString) 'str = Format$("{0:m d,yyyy}", dt.Value) str = dt.Value.ToString TextBox1.Text = str.Substring(0, InStr(str, " " ) - 1) End Sub As you can see I have tried several ways but the time shows up in all but manual ...Show All

  • Visual Studio 2008 (Pre-release) Select Shape element by clicking inside

    I have added few shape elements to the Canvas. In MouseDown function, i can select the element using InputHitTest Method. c# code for rectangle: ell = new Ellipse(); ell.Width = 100; ell.Height = 100; ell.Stroke = Brushes.Blue; ell.StrokeThickness = 2.0; Canvas.SetTop(ell, 25); Canvas.SetLeft(ell, 25); eCanvas.Children.Add(ell); InputHitTest returns the Ellipse element by clicking only on edges, but not when user clicks inside the ellipse. I notice that by filling the element it is possible to select the ellipse, but would like to do without filling it. Is it possible to select/highlight the ellipse element, if user clicks inside the rectangle box If you set Fill="Transparent" (or, from code, el ...Show All

  • SQL Server HELP!! SQL Server Express 2005 engine connection to my DB

    Preface, I am just starting to learn about database and web development. I installed VS.net 2005 which updated my web site project file and automatically attached it to a database. It connected to ".\app_data\aspnetdb.mdf". However it messed something up and the connection didn't work. If I create a project from scratch, it connects to its DB just fine, but not my upgraded project. However, when I publish my web site, I need to use ODBC. So, my thought was to simply set up the system locally in a way that will make it easy to connect on the web site. I was told to add a system DSN to the "Microsoft ODBC Administrator". I tried to add a "SQL Server" and give it the database name but it failed to connect. ...Show All

  • Visual Studio Express Editions Answer VB 2005 - Compositing Operations (C.O.)

    Hello Community! I'm quite new in VB (just since November06 ) and I'm looking for a fast way to overlap greyscale bitmaps in VB2005 (i.e. for every pixel R=G=B). I tryed to use the alpha-blending tchnique but it doesn't fit my porpouses (after I perform the C. O. the overlapping region is darkned). I would like the overlapping process to be a lightening process (the resultant color is always at least as light as either of the two costituent colors). In particular overlapping any color with white should produce white. Overlapping any color with black should leave the original color unchanged. I found an interesting program in VB6 that seems to to that http://www.vbaccelerator.com/home/VB/Code/vbMedia/Image_Processing/Compositing/arti ...Show All

  • Visual Studio Team System SP1 - source control explorer tree view

    Will SP1 fix the issue that many operations cause the tree to refresh and lose your current location in the source tree That one is pretty annoying when trying to do multiple operations at a particular point in the hierarchy. Thanks for the update. Too bad this couldn't make it into the SP, but glad it will be fixed in the next release. As we are going through this with many of our users, I listen to some of the comments made when they see things like this and they do contribute to the overall feel of stability (or lack there of ) in the product. These things give it the sort of 1.0 feel, that you don't see in the latest VSS 2005 for example. We're trying to run larger evaluation groups to see how a ...Show All

  • SQL Server "distinct" in select query

    when i use select : select flattened (select productid, $support from [model name].[table] )...... i have result with many record same. so i write : select flattened (select distinct productid, $support from [model name].[table] )...... but when i run, it's error. ( don't know what error). how can i do to get table record with not same record (loop) note : it write in DTS and i use sql 2000 i can't use query like you show. i want you "distinct " in DTS syntax like that: select flattened (select productid, productname, categoryid ,[$probability] from predict([model name].[table name], incluse_statistics) where productid > 1000) from [model name] predic ...Show All

  • Visual Basic MyReader.Delimiter

    How can I use the character μ as a delimiter for an input file Visual Basic 2005 Express doesn't seem to recognize this character when reading the file. Here is an example of what I am trying to do: 'Step 1: Break each segement onto a new line ( μ indicates the end of a segment) Private Sub btnTranslate_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnTranslate.Click Using MyReader As New Microsoft.VisualBasic.FileIO.TextFieldParser( "C:\edidata.txt" ) MyReader.TextFieldType = Microsoft.VisualBasic.FileIO.FieldType.Delimited MyReader.Delimiters = New String () { " μ " } Dim currentRow As String () While Not MyReader.EndOfData Try cu ...Show All

  • Visual C++ "Layered" precompiled headers

    Hi, I'm reading the book "C++ templates, the complete guide", and in section 6.5 the writers suggest to use layered precompiled headers. With that they mean to have multiple precompiled headers, but also to have a precompiled header to use another precompiled header, as if it inherits the other precompiled header. For instance, have one header containing all std includes like vector, list, string etc. This is a header that is unlikely to change a lot. You will create the first precompiled header from it. Let's say we put it in std.h. The second precompiled header need all stl headers and some of our own, which are likely to change every now and then. We want to avoid recompiling the stl headers when a change is made in t ...Show All

  • Windows Forms Smoother Refresh

    Is there a way to force a refresh without making a control's background turn white Hi You can think of using worker process or threads or make asynchronous calls on the methods which refresh the data. Check this below link, it may help you in getting some idea about the same. http://support.microsoft.com/default.aspx/kb/318604 ...Show All

  • .NET Development Change assembly name stops de-serialization of old data

    VS2005 c# I am trying to work out why changing the assembly name should stop deserialization working, I thought I had it after creating a SerializationBinder to rewrite the assembly name, and this works with a very simplified case, however on our main application a TargetInvocationException is thrown which seems to refer back to the original assembly name. - InnerException {"Could not load file or assembly 'TeletestMock, Version=1.0.0.2809, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.":"TeletestMock, Version=1.0.0.2809, Culture=neutral, PublicKeyToken=null"} System.Exception {System.IO.FileNotFoundException} Does anyone have any ideas of what I'm doin ...Show All

  • SQL Server Reporting service not starting - The user or group name 'VIDICOM\ASPNET' is not recognized.

    Hi, I've been trying for the past week to get SQL 2005 Server up and running. The SQL is up and running however I am unable to get the Reporting service to start. The log file is below but the main line is: ReportingServicesService!library!4!29/06/2006-14:33:45:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.UnknownUserNameException: The user or group name 'VIDICOM\ASPNET' is not recognized., ; Info: Microsoft.ReportingServices.Diagnostics.Utilities.UnknownUserNameException:The user or group name 'VIDICOM\ASPNET' is not recognized. But the domain user ASPNET is present. Similar posts across the internet mention about the .NET Framework not be installed correctly. I have reinstalled it many times. Any help is most ...Show All

  • Windows Forms deployment problem

    I have created a setup project and add the primary output of my solution to it. but when I tried to install it on a machine where >net framework is not installed, it prompt me to download the .Net Framework from the internet. But I want to know that is it possible to integrate the .net framework with the setup file so that the installation wizard will check whether the .Net framework is indtalled or not, and if it is not installed then it will install it. Thanks. ...Show All

©2008 Software Development Network