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

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

js06

Member List

ammard
Michael Hansen
Michael Wu
Myime
Hanumanth Reddy
tchen777
Seth Livingston
Gaurav Singh
Niksta
Tylerk
daniel mark
cynistersix
vibha504
aybe
Blackice
gifuran
SLV
Likewise
Bumper
leonlai
Only Title

js06's Q&A profile

  • Gadgets OT: Suggestions about gallery.live.com

    Several things stand out about this site, now that people are starting to use it. So, here's some suggestions: Implement some sort of language filtering. Although I have nothing against the use of non-English and think it's actually commendable than MS allowing it, I would rather filter out Gadgets that are of no use to me. Alternatively allow multiple languages in the Gadget description, or some form of language translation. Improve Gadget images. It would be great if you could attach screenshots, as well as the 100x100 icon. Do something about Gadget spam. "Vamos Strip Player" springs to mind, I'd hate to think how many times it's posted. Remove the 1000 character limit on the description field, and allow it to be rich text ...Show All

  • Visual Basic Code to Flow Chart Diagram

    I'm looking for ideas... I have written an app to generate a logon script for my domain, and I'm pretty happy with it as long as I am willing to hack the vbscript, but I want to be able to generate the code based on objects in a diagram. Let me explain a bit... My app shows users, groups, OUs, printers, drives, etc. in listviews, and it's easy enough to drag a printer or a drive onto a group or a user, but suppose the printer is dependent on what workstation the user is logged onto. I think it would be do-able to display a picture box, parse the vbscript and draw lines and boxes, but that would only be an output - very useful, but that only makes a logon script viewer. I would have to be able to give the user buttons and whatnot to draw ...Show All

  • Visual Studio CAB File Project: DLL Version for CAB file

    Hello, I hope that I have the right forum for this post. Anyways, I have a Microsoft Visual Studio 2005 CAB file project. The project builds the CAB file nicely packing properly the single DLL and its corresponding INF file. VS05 also automatically adds an OSD file to the CAB file, which it automatically creates. Here is where my problem lies. The DLL does have version information and is signed. The DLL reports and furthermore viewing the properties for the DLL shows the correct version string (i.e. 2.0.60914.1). The problem is that the OSD file The file, shown below, should show the version as "2,0,60914,1" but rather shows "1,0,0,0". What I don't understand is how VS05 arrives at the version number and how can I get ...Show All

  • Smart Device Development directshow issue

    Hi, I am using directshow graphs in my application for accessing the embedded camera(PPC and SPs). I am not using a graphmanager; I contrust the graph manually, by adding the required filters. An overview of my Graph: To the VideoCapture filter, I connect the SmartTee. The Render Output pin of the SmartTee is connected to the VideoRenderer; The Capture Output Pin of the SmartTee is connected to the input pin of my custom NULLRenderer filter. In this filter, I register a custom app callback function in which I perform my image processing operations on the frames received. Ok. Now the problem I am facing is changing the camera / viewfinder properties. In varying lighting conditions, I need to be able to adjust the properties like ...Show All

  • Visual Studio Express Editions Displaying 4 digits when outputting a Hex number

    I need to display 4-digits whenever I output a hex number. For instance if the number is 1 hex I would like it to show 0001 on the screen. I am displaying hex numbers using the following code: Console.WriteLine(Format.String("{0:X} - This is hex code.", nHexNumber)); I have tried adding other format codes such as {0:0000} with no luck. Thanks, CoderX The width indication follows the format character. Console .WriteLine( String .Format( "{0:X4} - This is hex code." , nHexNumber)); It is also worth noting that the call to String .Format is redundant as WriteLine has several overloads that take a format string and object list (or array of objects) as paramet ...Show All

  • Microsoft ISV Community Center Forums datagrid control in access

    hello, i am developing an access application using forms and i don't have the datagrid control. i tried downloading msdtagrd.ocx and install it but the control doesn't seem to be working properly. is there a control i can use that has a menual on how exactly i use it (either in the code and on the form). thanks refael If you want to create a datagrid control similar to .NET then create a form that contains the bound fields you want in the datagrid, then you need to set the forms DefaultView to DataSheet, and place it on a form as a sub form. An alternative is to use the list control but this is read only. ...Show All

  • SQL Server SOS, One .NDF file missing Can not Restore DB

    Dear All, I have a DB with four .NDF Files. The First .NDF File is corrupt. Unfortunately my Backup also Failed. So I Have no Backup. Other .NDF and .LDF and the MDF Files are intact except one .NDF file. Can anyone help How can restore/Recover my DB. I can not mount the DB. ITs OK if i loose some data and am able to use other intact .ndf files. Your help is Greatly appreciated. Thanks Hi, The quick answer is that there's nothing you can do - you can't bring up a database that is missing a data file because you'll have lost pages from most of your user tables plus system tables. The more complex answer depends on how the file is corrupt. Is the corruption at the SQL Server level (e.g. CHECKDB reports some err ...Show All

  • Visual Basic Overriding Enum members

    How can I override or overload Enum public methods e.g CompareTo or ToString What are you trying to accomplish...have you looked into the ENUM class: http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpref/html/frlrfsystemenumclasstopic.asp it will allow you to work with enumerations like so: [Enum] . GetName ( MyEnumeration , TheValue ) ...Show All

  • Visual C# How to handle Drag Item from Windows that drop in my own program??

    I am a student in the college, I want to try to develop a program to store some record of files. therefore, I want to try to add a function that only drag and drop file(s) from explorer and then can add into record. However, I don't have any idea about how to handle the Drag item from Windows.... I try to add MouseUp and DragDrop Event and there is no effect when I try to drag from Windows. and I also try to find some example about Drag and Drop for C#, but all of the example is handling Drag and Drop within the program... So, I ask help here. Thank you very much Hi, Turn the allowdrop of the object you want to drop to, and the handle the drop events. Here is an example of a textbox that display the co ...Show All

  • SQL Server Custom time period - 26th of month to 25 of next month

    How do I create a server time dimension which has custom defined month periods. For example we use month that starts on 26 and ends on 25 next month. So our January is actualy starting from 26.Dec.2006 until 25.Jan.2007, and so on for Feb, Mar... Any idea how I can do it Thank you, Mitja Thank you Thomas! I have tried the proposed solution, but I get syntax error at "where" critieria. I was looking for some pre-made solution in business intelligence wizards, strangely enough to find there isn't one. Any ideas ...Show All

  • Visual Studio Team System Visual Studio disappears during Get Latest Version

    I have a large solution (76 projects) in VS 2005. When I execute a Get Latest Version (Recursive) command from the Solution Explorer, the Visual Studio window disappears and the process exits without a trace. My workaround is to use the command line tool, but the problem  is annoying due to the time consuming restart of Visual Studio and reload of the solution. Any ideas Hi Ben, Thanks for the update. I got the symbols to show up by downloading the Debugging Tools for Windows and then using symchk to get the symbol files. After a few simple settings in Visual Studio, there they were! We can live with the workaround until the service pack is released. Do you know if it is still on schedule f ...Show All

  • SQL Server Odd null behavior

    I am writing an upsert proc that should detect the change in state for a record. The change in state happens when a particular date field (default null) is populated. However, I can not get a record set that detects the changes properly. Here is an example set ANSI_NULLS on go create table #t1 ( ID int, DateField datetime ) create table #t2 ( ID int, DateField datetime ) insert into #t1 (ID, DateField) values (1, '7/20/2006') insert into #t2 (ID, DateFIeld) values (1, null) select * from #t1 join #t2 on #t1.ID = #t2.ID where #t1.DateField <> #t2.DateField drop table #t1 drop table #t2 The select should return a record because NULL does not equal '7/20/2006' but it doesn't. What am I missing Thanks in advance. ...Show All

  • Visual C# Two questions about Windows Services

    Hi I have written a Windows service that sends me an e-mail every three seconds. At first, the e-mail contained the text "Hello". But then I wanted to change the text, so I stopped the service, uninstalled it, changed the source code so that the e-mail should contain the text "Hi there", compiled it and installed it again. But I still get "Hello" every three seconds. Even tried to reboot the computer. Another problem is that the e-mails don't arrive in real-time. They seem to queue up and get sent as a batch when I stop the service. So if I let the service run for a minute, nothing happens, but when I stop it, I suddenly get a whole lot of e-mails. Any help would be much appreciated. Thanks ...Show All

  • Software Development for Windows Vista Expanded Memory in Vista for DOS Applications

    A DOS application which requires expanded memory (EMS) is required to be run on Vista. In earlier releases the expanded memory could be set to auto using the command.com->properties->memory tab. Vista does not allow to change this settings due to security reasons. Is there a way of increasing the expanded memory to allow a huge DOS application to run in the Vista environment Nice try, Matthew, but it doesn't quite work as you said. But it seems you must be close. Here's what happened. Everything you said, above worked exactly as you said, but it turns out I didn't need to do any of the explorer launching stuff, as I can already edit the properties of "command.com" from my account ( ...Show All

  • Visual Studio 2008 (Pre-release) Some basic questions...

    I'm debating on whether to go with SQL Server merge replication or to use the new ADO.NET Sync Services. (It's a future project with no deadline, so I can test with the CTP until it's released.) The server will be some version of SQL Server 2005. The client will be SQL Compact. 1. Tracking changes on the client (SQL Compact): How is this done, since you can't write triggers in SQLCE Must the client application maintain this 2. Schema changes: Merge replication seems to handle this pretty well in my experience. Will the ADO.NET Sync Services have a similar feature 3. Merge replication requires a paid-for version of SQL Server to be the server/publisher. If I understand ADO.NET Sync Services correctly, I could use SQL Express as th ...Show All

©2008 Software Development Network