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

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

Juniorscone

Member List

SkyCyclePilot
xyzt
Gess Man
darthziv
Chimme
De_Vaddrr
Shortty
William Biesty
Dr.Virusi
sagittarian
Dotnet007
ahmedilyas
PaulMD
Vincent Ng WS
Jawad Naeem
rSchild
Chris Aus
PureVision
sydes141
TonyX852
Only Title

Juniorscone's Q&A profile

  • SQL Server PERSISTED Column In View

    I have a view that calls a User Defined Function. I want to index this calculated column if possible, but trying to do so gives me an error saying that I have to mark the column PERSISTED. I see how it's possible to do this when creating tables with calculated columns, but is it possible to do this from within the view itself Does the UDF use GETDATE(), or some other nondetermininstic function, internally   Can you share more information about what you're trying to do   -- Adam Machanic Pro SQL Server 2005, available now http://www..apress.com/book/bookDisplay.html bID=457 --     < boulderbum@discussions.microsoft.com > wrote i ...Show All

  • Visual FoxPro booking system

    hi all, recently i developed booking system. i had encountered a prob my customer have 3 resorts. so after tourist confirmed stay at they resort they will use my booking system to assign to particulars resort. 1) how do i know the resort have vacant room or not 2) i wan make a combobox down-arrow button when click it another windows tat have grid box to select. and i wan tis data will be differentiate by resort code. i rili no idea at this part. Thanks for advice. >1) how do i know the resort have vacant room or not You would have to create a query for this. It depends on your data file structure design. Maybe you have a table with rooms per resort and dates of occupancy so you would have to create ...Show All

  • Visual Studio Express Editions Adding a reference to a project

    I'm trying to access Active Directory using the Active DS Type Library. I add the component through Project menu > Add Reference > Active DS Type Library. I click OK, but when I declare a variable, the pop up list does not include the types that I require (e.g. IADsComputer). It works OK in VB 6, but not in VB 2005 Express. Any ideas anyone Thanks, Iain Hmm, it is there for sure. Try prefixing the namespace that was generated for the wrapper, write it like this: ActiveDs.IAdsComputer ...Show All

  • Visual C++ why doesn't the cursor piont to the excuted line in single step debug?

    i use vc2005. when i debug in a function,the cursor doesn't piont to the excuted line. it piont to the third line before the excuted line.but in other functions , everything is normal.why Hi, this normally happens when you make changes to a file and run debug without compiling it. Since the debug symbols are different than the actual file, it will point to other lines. ...Show All

  • Windows Forms Text Rendering on 1600x1200 resolution - Windows 2000

    I have developed a windows application and when I have my client run it on his laptop which is set to 1600x1200 resolution with Windows 2000, it enlarges all of the labels on the form and buttons so that the window is unreadable as you can only see part of the text.  However, if I run the application on XP or 2000 at a different resolution, it appears just fine. Any ideas on what can be done so that the application looks "normal" at his 1600x1200 resolution   If he drops his resolution, the application looks fine.  My guess is that the wide screen resolution is distorting the text. Also, this is with VS2005 and I am using Verdana as my font style on all my forms. Ideas or comments Thanks, Greg ...Show All

  • Windows Forms need listbox's selecteditems(display)--associated values(value member)

    Hi, I have a listbox with displaymember and valuemember I need to fetch all the valuemember values from the listbox selected items. I'm able to fetch the display member like the below. System.Windows.Forms. ListBox . SelectedObjectCollection mgr = new ListBox . SelectedObjectCollection ( this .lstManager); if (lstManager.SelectedItems.Count >0) { foreach (System.Data. DataRowView dr in mgr) { string s=dr[0].ToString(); } } Unable to proceed further. Please help me venp-- thank you venp. Microsoft please create some documenatation for ListBox. The msdn pages are useless. ...Show All

  • Visual Studio Team System Problems with source control

    We have had recurring problems with Team Foundation Server not handling source code correctly. Changed code is being left out during the Check In process. Get Latest fails to get the latest checked-in source code. This has happened with Excel files. Some Source files have been updated and some have not been updated. Now we have a case where several days worth of work was lost after the use of: Get Specific Version, checking the "Overwrite writeable files that are not checked out" and "Force get of file versions already in workspace" Any ideas Some more possibilities for the case where you thought the file should ha ...Show All

  • SQL Server how to pass strange looking Passwords to SQLCMD ?

    I have problems with passing strange looking passwords from my win.form application to sqlcmd. I tried to do this: sqlcmd -S myServer -U myUser -P 2pQ-""xELfG~fze<= -d "McSpalDB" -i "C:\myProcedure.sql" -o "C:\temp\myOutput.out" but it fails, so I tried to encapsolate the passwoard in "": sqlcmd -S myServer -U myUser -P "2pQ-""xELfG~fze<=" -d "McSpalDB" -i "C:\myProcedure.sql" -o "C:\temp\myOutput.out" but it fails too, because i have "" in my pass, since " isn't a forbiden symbol. How to pass strange looking passwoards to sqlcmd Try using sqlcmd -S myServer -U myUser -P 2pQ-" ...Show All

  • Architecture Architecting Application?

    Dear All, In my career, i am in a transitional stage - moving from developer to managerial position and prefer Technical Manager/Architect. To master Architecting, need to know the following: 1. Is there any certification/course to master Aplplication Architect, including UML and applying Design Patterns 2. Can i have some sample/actual copy of 'High Level Design' and Low Level Design Document for an Application/Solution 3. What is the difference between 'Technical Architect' and 'Solution Architect' Or, are they same Thanks in advance for the advise/help. Regards, ravi Hi velu, you can go thru the skills list i tried preparing .. http://dotnetwithme.blogspot.com/2007/02 ...Show All

  • Visual Basic Printing a File

    Hello NG, First, I work with VS2003 (Framework 1.1) Got a bit of a problem. I want to print a file on the default printer. This is how I got so far: ' Get the default Printer Dim oPS As New System.Drawing.Printing.PrinterSettings Dim GetDefaultPrinter As String GetDefaultPrinter = oPS.PrinterName Dim pd As New System.Drawing.Printing.PrintDocument pd.PrinterSettings.PrinterName = GetDefaultPrinter pd.DocumentName = [Here document, but HOW ] pd.Print() Please can anyone help a bit. Thanks, Lars PrintDocument will use the default printer unless you tell it otherwise so there is no need to do anything on that. What type of file are you working with What ...Show All

  • Visual Studio 2008 (Pre-release) How to : ResourceDictionary' root element requires a x:Class attribute to support event handlers in the XAML file

    Hi, I have create a new WPF control like this : <ContentControl x:Class="SkinWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Height="279" Width="365" > <ContentControl.Template> <ControlTemplate TargetType="{x:Type ContentControl}"> <StackPanel> <Button Name="button1"/> <Button Name="button2"/> <Button Name="button3"/> </StackPanel> <Grid> <Line MouseDown="OnSizeNorth" Name="lnSizeNorth" .../> </Grid> </ControlTemplate> </C ...Show All

  • SQL Server Help me: SQL Server 2005 Enterprise Setup Error

    I have my computer clean with windows 2000 server SP4 then I install Visual Studio.NET 2005 Professional (With SQL Server 2005 Express Edition) - Everything is OK! after that i try to install SQL Server 2005 Enterprise Edition, but I get an error message at the begining as following: Title: setup.exe - Entry Point Not Found Content: The procedure entry point _encode_pointer could not be located in the dynamic link library MSVCR80.dll so, is there anybody can help me to solve this problem thanks! ...Show All

  • Visual Basic how to validation

    hi, can any body guide me how validate a the entered text in the textbox is the url or email address Regular expressions: http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpguide/html/cpconCOMRegularExpressions.asp http://msdn2.microsoft.com/en-us/library/system.text.regularexpressions.regex.aspx Email address and URL sample found here: http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpguide/html/cpconregularexpressionexamples.asp ...Show All

  • Software Development for Windows Vista How to draw window system buttons?

    I am trying to draw the standard window system buttons (Minimize, Maximize and Close) but have no luck in drawing them to look like the ones you see in top right corner on Vista. I am creating custom form so I need those. I tried using Theme API but that does not get my anywhere... Question is how to draw Vista style system buttons Hi devexpert, Unfortunately, we do not expose the caption buttons though any API. The only way to get these is by letting the DWM draw the non-client area of your app. Thanks, Wale ...Show All

  • .NET Development System.Collections.ArrayList sorting improvements

    Hi! Short suggestion about this class. It's got several Sort methods implemented. But none of them expects System.Windows.Forms.SortOrder parameter, what would be great. (PS.I know how to implement it.) Cheers, Dawid Ireno. Of course - serving an IComparer implementation would work fine. But that's not the point, is it In .NET Framework there is a lot to do. For example .NET's 1.1 string (the very very basic class!) had no Contains(string) method. Version 2.0 has got it, while it was natural. It was only a matter of time Cheers, David ...Show All

©2008 Software Development Network