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

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

maryz

Member List

Wendell Wang
LastBoyScout
ron nash
Darkside
cafeasp
xLogicTalentedx
RLawson
Dwayne J. Baldwin
Patrick Tremblay
Pockey
nbrege
tiffeyneohelp
Michael Rodrigues
SolveIt
mcmathys04
Jason Chan
SachinSurana
a.d.m
Jason Bolstad
Thomas S. Andersen
Only Title

maryz's Q&A profile

  • Silverlight (formerly WPF/E) Text alignment?

    Is there a reason TextAlignment isn't supported for the TextBlock element If so, I hope the reason is simply a matter of "not yet implemented", since I believe this to be an important feature that needs to be supported for the first release. Particularly when wrapping is involved, this is something that needs to be provided by the basic text rendering functionality. No, I can't -- particularly when wrapping is involved. Imagine a labeled icon like you find on the Windows desktop. Or something that should wrap as follows: The Antidisestablishmentarianism Annual ...Show All

  • Software Development for Windows Vista How to debug a XOML-Only Workflow?

    Hi, is it possible to debug a dynamically loaded workflow (XOML-Only) Did somebody done it Thanks Thank you SonaliC for the advice. I tried it out and the problem I encounter is that the "wrong" .xoml window pop's up. I think the reason might be the way I implemented the dynamic loading: I didn't used compilation for this purpose but rather I "inherited" from an empty workflow and loaded at runtime my .xoml instance (mean no x:Class property). So the loaded .xoml window is the one of the "base" workflow and not of the instance. Does anybody know how to handle this case Thank you! ...Show All

  • Visual C++ cout not working with CString

    I am using Visual C++.NET V7.0.9955 When I use the following code CString name = "John"; cout << name; Rather than getting the name on the counsole I get a hex value, probable the address of the location of name. Of course if i change the code to cout << *name; I get the first letter of name. Why wont cout work for CString. I thought it should. Thanks Lachlan. I guess you are struggeling on characters sets. By default VC2005 uses unicode. So you should use wcout. What you see is the address of name. You can call the operator which returns the address of the character array: (LPCTSTR)name. You can also add an operator for ostream and wostream: std::wostream ...Show All

  • Visual Studio Team System I got nothing After successfully finished webproject build, why?

    After successfully finished webproject build, I found only one BuildLog.txt file in the build droplocation. why the build log as follows: 生成 2006-7-14 16:25:11。 __________________________________________________ 目“F:\UBSWebsolution\UBS\ubsweb\BuildType\TFSBuild.proj”(EndToEndIteration 目 ): 目 InitializeEndToEndIteration: UpdateBuildNumberDropLocation BuildNumber='ubsweb_20060714.5' DropLocation='\\ubscmserver\UBSWeb\ubsweb_20060714.5' 目 CoreClean: 正在移除目 “F:\UBSWebsolution\UBS\ubsweb\BuildType\..\Sources”。 正在移除目 “F:\UBSWebsolution\UBS\ubsweb\BuildType\..\Sources\..\Binaries”。 目 InitializeBuild: 正在 建目 “F:\UBSWebsolution\UBS\ubsweb\BuildType\..\Sources”。 目 InitializeWorkspace: DeleteWorkspaceTask Name= ...Show All

  • Internet Explorer Development mht files not being opened (IE 7.0.5700.6)

    IE is allowing me to save pages with 'mht' extension but does not open then up for view This is a serious problem for me because now I cannot access pages I saved on my hard drive and will have to revisit them. Try this out. Go to - Start > Settings > Control Panel > Folder Options > File Types - Click on 'XLS' (Microsoft Excel Worksheet), in the extension list. - Click on 'Advanced' button. - Select 'Open in the same window' - Click OK Now try to open your .mht file. Hope this helps. ...Show All

  • Visual Basic Change system time using vb.net

    Does anyone know how to change the system clock using code. I want to be able to set the date and time in my code. Any thoughts Thanks!!! This is not doing what i want. what I want to do is connect the system time to my program i have a interface where the user can go in and click (for example: the + and - button to increase or decrease the number to change the hour and minutes.) I want them to be able to change the time and date as if they were doing it using the windows date and time properties. When they change the time in the program i want the system clock to also change accordingly. I know how write code to set the current date and time by clicking a button. I just need to know how to get the clock ...Show All

  • Visual Studio Corruption in VSS2005 database

    A week ago we created a brand new database in VSS2005, containing a very large amount of code. The resulting database is about 1 GB in size. Yesterday I started noticing the following error when opening SS Admin: "We recommend that you run the Analyze utility at this time. We have detected the following conditions that may lead to integrity issues in your SourceSafe database: - An incomplete operation was detected for the following users:" (followed by a list of users). I was forced to run an Analyze right away because SS Admin would not let me add users. After running Analyze, the error went away and I was able to add users again. But today, the message is back again! I understand the importance of analyzing the database r ...Show All

  • SQL Server Convert hexadecimal value to real data type

    Hi , I want to convert hexadecimal to numeric data type. Using directly Cast or Convert function is not working. Please suggest an alternative how to retrieve the numeric value of binary data . Thanks in advance Regards Srinivas Govada Srinivas, Please show us what does not work for you. The following is fine: declare @n numeric(10,2) set @n = 1.23 select cast(@n as varbinary(20)) -- returns 0x0A0200017B000000 select cast(0x0A0200017B000000 as numeric(10,2)) If you are trying to convert binary representations of [float] values to [float], you can use this code: declare @b binary(8) set @b = 0xC094D954FB549F95 declare @s bit declare @e smallint declare @m float set @s = case when substrin ...Show All

  • SQL Server Change the WHERE conditions dynamically

    Is there a way I can build a case statment or similar to handle different where conditions I know I can do it dynamic sql but it would be nice to have a method where I can create the querries directly in a normal statement Someting like: Select c1, c2, c3 From Table WHERE Case @Condition WHEN '>' @SelColumn > @Limit WHEN '=' @SelColumn = @Limit WHEN '<' @SelColumn < @Limit END I know this doesn't work so an example that do work would be nice. Can't you use a T-SQL IF statement instead IF @Condition = '>' SELECT ... FROM .. WHERE @SetColumn > @Limit ELSE IF @Condition = '=' .... WHERE @SetColumn = @Limit This will get you the best performance if ...Show All

  • SQL Server SOLUTION! - VB.NET 2005 Express and SQL Server 2005 - NOT saving updates to DB - SOLUTION!

    VB.NET 2005 Express and SQL Server 2005 Express - NOT saving updates to DB - SOLUTION! ----------------------------------- The following article is bogus and confusing: How to: Manage Local Data Files - Setting 'Copy to Output Directory' to 'Do not copy' http://msdn2.microsoft.com/en-us/library/ms246989.aspx You must manually copy the database file to the output directory AFTER setting 'Copy to Output Directory' to 'Do not copy'. Do not copy The file is never copied or overwritten by the project system. Because your application creates a dynamic connection string that points to the database file in the output directory, this setting only works for local database files when you manually copy the file ...Show All

  • SQL Server CSV file as a data source

    Hi, Can a CSV file be used as a data source for Microsoft Analysis Services 2005 Rgds hari You can create SSIS pipeline, which will read CSV's and then uses AS Processing Task to load data into partitions. I have done it in the past, and while it is not a smooth ride (especially when your partitioning scheme of the cube is not trivial), it can be made work. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Xbox 360 Official Dev Kit vs. "the XNA thing"

    Here goes, The official dev kits intergrate within Visual Studio and compile on PC and send the executable to the machine and launch it via remote debugging. This also allows for breakpoints, steping thru code, etc. Will this new XNA subscription and Game Studio Express be similar to this idea I'm dreading things like relying on Windows support and burning it to a CD to play it on the 360. (For example) Q: How can you debug XNA-based games running on the Xbox 360 A: Debugging on the console is supported through a remote debugging connection from a Windows desktop running XNA Game Studio Express. Just incase you can't find the FAQ ;-) ...Show All

  • Visual Studio UNDO no longer working...

    I was working ASP remotely (bad network connectivity) and when I returned to the office, the UNDO feature no longer works. That's to say, whenever I'm in the editor (VB) and I code, the UNDO button no longer ENABLES itself and, syntax errors take a while to reveal themselves. Being in the office. I'm just a stones throw from the development server... Connectivity shouldn't be an issue... In fact, browsing the pages of the project using Internet Explorer reveals little to no lag. Is there a setting perhaps that was tripped because of my recent remote outing ...Show All

  • Visual Studio Tools for Office Excel cell data validation dropdown

    All, I am trying to programmatically add data validation to n number of cells in my spreadsheet. Ideally I would like to add a named range to a drop down list AND default the selected item to a value from my database. There isn't much information out there regarding doing this in c #. Based on my attempt at decoding the one visual basic example I found here is my code: for (int i=0; i<someVariableInteger; i++ { cellAddr = "D" + (i + 7); rng = this .Application.get_Range(cellAddr, missing); rng.Validation.Delete(); rng.Validation.Add(Excel. XlDVType .xlValidateList, missing, missing, "=ProjectCategory" , missing); rng.Validation.Modify (Excel. XlDVType .xlValidateList, missing, missing, ...Show All

  • .NET Development Installation of .Net 1.1 on Vista

    I am facing issues while installing .Net 1.1 on vista OS 5372 or 5384. Following are the errors I am not able to attach the error message so below is the text Regsvcs.exe - Common language runtime debugging services ------------------------------------------------------------------------------------------ Application has generated an exception which could not be handled Process id = 0xeac(3756) Thread id = 0xe34(3636) Click Ok to terminate the application ----------------------------------------------------------------------------------------- Please suggest if someone else have seen the same issue and pointers for resolution. Thanks for taking the time to reply. They wer ...Show All

©2008 Software Development Network