Software Development Network Logo
  • Visual C#
  • Game Technologies
  • Windows Live
  • Microsoft ISV
  • Visual J#
  • Visual Studio
  • .NET Development
  • Visual C++
  • VS Team System
  • Windows Forms
  • SQL Server
  • VS Express Editions
  • Visual Basic
  • Visual FoxPro
  • Windows Vista

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

frdyr

Member List

Sunny Day
Nick Shen
Sven Rutten
tina m
Cong Xie – MSFT
Benjamin80
Janus_42
Andy White
venkata ramana
LightTrainMedia
Amaan
Bharathi
lsgko
Conrad Rowlands
marpe
Tynman
RichardTM
Heisenbug
Rajiv Poddar
m1ch3ll3
Only Title

frdyr's Q&A profile

  • SQL Server Possible to set http://localhost/Reports default start report?

    SQL 2005 Is it possible to set a default start report I have a report which contains hyperlinks to all the other reports, I'd like to just load this one by default when a user hits: http://machine/Reports Perhaps I'm barking up the wrong tree and need to set this in IIS I want users to still be able to make their way back to the /Reports folder lists also. - Thanks in advance I would rather set a new virtual directory with pointing / redirecting to the new folder than messing with the old settings. But with that there would be not point in returning to the main folder structure, unless you put it as a hyperlink inyour report. HTH, j ...Show All

  • Smart Device Development Some problem with Application Verifier.Thanks

    I use the Application Verifier to check my applications,I Install the platform builder,and then Install the Application Verifier for WM5.0,the Install Folder is c:\program files\Application Verifier for Mobile 5.0. I start the AppVerifCE.exe under the \desktop folder and check my application.My application project is cofigured to generate .map file,i copy the myapp.map to \windows folder on device ,but when i view the log with avlogview.exe under the \desktop folder,then function name was not print ,Why thanks for your help. Pls refer to following link for more relavent forum http://forums.microsoft.com/MSDN/ShowPost.aspx ...Show All

  • Visual C# I Need to Search for specific word in file without load all the text in the file to memory

    Hi   I try to search for specific work in more then 50000 file and I want to know witch file that content that word …   I use these lines of code to search for that word   StreamReader sr = new StreamReader ("C:\File.txt", System.Text. Encoding .Default); int CharIndex = sr.ReadToEnd().IndexOf( "AnyWord" ); sr.Close(); if (CharIndex > -1) {     Console .WriteLine( "The File content the word" ); }   these lines of code wok fine but the problem here,   is the method ReadToEnd() load all the string in the file to the memory so this will make the application ver ...Show All

  • .NET Development How to call external function defined in microsoft jscript

    Hi there, I need helps. I have a function defined in hi.js. ------------------------- function hi(){  WScript.echo("hello !") } ------------------------- Now, I want to call this function in callhi.js ------------------------- hi(); ------------------------- I put both of them in a directory. But it does not work. I don't know why, because in WinXP, C:\WINDOWS\PCHealth\HelpCtr\System\scripts, they can call external function. See Common.js and HomePage__SERVER.js in this directory. Regrads, Tany. If there is no mechanism in the host you are using, the only other possible solution, though a bit of a hack, is to read ...Show All

  • Software Development for Windows Vista Components registry issue on Building 5344.winmain.060316-1340 (free build)

    We found a issue when to registry components by regsvr32.exe on Windows Vista Beta2 Building 5344.winmain.060316-1340 (free build), pop-up a dialog box with following message, The module "DllRegisterServer" was loaded but the call to C:\Users\xxx_5344_FreeBuild\Desktop\test.ocx failed with error code 0x80040200. Any comments will be welcome, thanks in advance! BTW, there is no the issue on previous builds and 5344 (debug build). On the POST... http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=152896&SiteID=1 u'll say the solution a this one. Salu2, LV WRZ ...Show All

  • Visual Basic Help With Code

    I have got this bit of code which I have written, but I don't know how to say Number = (Any Number). So the effect would be if the text in TextBox1 is a numeric value, it would do the calculation. Otherwise it would display "You Must Enter A Number Into The TextBox" in the toolstrip status label Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim Number = If TextBox1.Text = Number Then Dim i = Val(TextBox1.Text) Dim o = 2 ^ (i - 1) Label1.Text = Integer.Parse(o) Else : ToolStripStatusLabel1.Text = "You Must Enter A Number Into The Text ...Show All

  • Windows Forms Control Box

    Hi Stefano, Thanks for the trick about backGround image I will try to use this trick in my work. I have a question: How can I disable only the C loseBox of a ControlBox of windows form and keep the MinimizeBox and MaximizeBox enabled Previously thanks. Here is the code that will help you achievw what you want to do- public class FormCloseButtonDisabler { private const int MF_BYPOSITION = 0x400; private const int MF_REMOVE = 0x1000; private const int MF_DISABLED = 0x2; [ DllImport ( "user32.dll" , EntryPoint = "DrawMenuBar" )] static extern Int32 DrawMenuBar( Int32 ...Show All

  • Windows Forms ToolStripMenuItem questions

    I've got a couple of (hopefully) simple questions on using the ToolStripMenuItem in conjunction with a ContextMenu in VS 2005. First, I need to change the font color, not only when it's selected, but before it's selected. I need some menu items to be green and some to be blue. I also need to make my context menus support multiple select, so on any given menu or sub menu, the user can pick an item, and instead of the menu closing, that item gets checked and the user can select one or more until they hit an OK menu item which then closes the menu and moves up one level in the menu heirarchy. I'm using C#. And ideas on how to pull off the above ...Show All

  • Visual Studio 2008 (Pre-release) Hands-on lab and the February CTP

    Folks: I am trying to get the DataBindingLab from the Hands-On-Labs to compile. I have nto changed anything, but it will not compile. Here is the offending code: < Mapping XmlNamespace="src" ClrNamespace="DataBindingLab" > < Window x:Class = " DataBindingLab.AddProductWindow " xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " xmlns:src = " src " Title = " Add Product Listing " SizeToContent = " WidthAndHeight " ResizeMode = " NoResize " > ...Show All

  • SQL Server Stored Proc

    I am  working on a vb.net app w/SQL Server 2K backend.  App uses microsoft's Ent. library Data Access Application block for data access.  The app is working fine.  I have stored procedures that will not return the desired results.  Below is a sample proc. SET QUOTED_IDENTIFIER ON GO SET ANSI_NULLS ON GO SET NOCOUNT ON Go IF EXISTS (SELECT * FROM sysobjects WHERE type = 'P' AND name = 'RaidSiteCaseCount')  BEGIN   DROP  Procedure  RaidSiteCaseCount  END GO ------------------------------------------------------------------------------------------------------------------------ -- Date Cr ...Show All

  • Visual FoxPro REPORT error-invalid path

    i have a button in a form and when its pressed it creates some select sqls which have into table and overwrite an existing table.then from the table i create report..from.. ,then i update the report and finnally i report form.the problem is that if i press the button->see the report->close the report->press again button->i get a message "invalid path or file name" if i close the program and reopen its the same press the button->see report->close the report->press again button->i get a message "invalid path or file name" so i can only see the report once and then close and open the programm again to see the report seco ...Show All

  • SQL Server Function for getting a extension from a filename

    I need a function that returns the extension of a filename, im not so the T-SQL expert so i wanted to ask if this query is ok would it be faster to do this as a CLR function set ANSI_NULLS ON set QUOTED_IDENTIFIER ON go ALTER FUNCTION [dbo] . [fn_GetFileExtension] (   @Name nvarchar ( 256 ) ) RETURNS nvarchar ( 256 ) AS BEGIN   IF ( SUBSTRING ( @Name , LEN ( @Name ) - 3 , 1 ) = '.' )     RETURN LOWER ( SUBSTRING ( @Name , LEN ( @Name ) - 2 , 3 ));   DECLARE @i int ;   SELECT @i = 1 ;   WHILE ( @i < LEN ( @Name ) )   BE ...Show All

  • Windows Forms "Terrarium is experience some server problems"

    Hello, so... I created a couple of creatures, which live quite happily in my own private terrarium. When  try to put them into the ecosystem the following error message is displayed: "Terrarium is experience (sic!) some server problems. Please try again later." I am connected to the server allright (http://www.terrariumgame.net/Terrarium) and those Nagas and Marys ke ...Show All

  • Windows Forms Runtime error, File Format is not valid in RichTextBox.LoadFile()

    Hey, I have a starnge runtime error, when I run my program and click ont he load option it opens up the load dialog, so then I click on Text FIle(*.txt), and then click on a text file to open and then when it is opening it, it gets a runtime error, it highlights this line of code: RichTextBoxPrintCtrl1.LoadFile(openDialog.FileName) This is the load code: Private Sub openMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles openMenuItem.Click openDialog.Title = "Open File" openDialog.Filter = "Rich Text Files (*.rtf)|*.rtf|Word Files (*.doc)|*.doc|Text Files (*.txt)|*.txt|All Files ...Show All

  • Visual Basic Newby: Need help converting VBA script to VB 2005

    Hello, I am new to programming. The following script needs to be converted from VBA to Visual Basic 2005. Dim fileName1 = InputBox("Enter filename for filtering")       fileName2 = InputBox("Enter filename for output") Open fileName1 For Input As #1 Open fileName2 For Output As #2 Do Input #1, Data1 ' Gets number Input #1, Data2 ' Gets name Input #1, Data3 ' Gets model Input #1, Data4 ' Gets description Input #1, Data5 ' Gets interval If Data5 = "0" Then Data6 = "a" If Data5 = "1" Then Data6 = "b" If Data5 = "2" Then Data6 = "c" If Data5 = "3" Then Data6 = "d" If Data5 = "4" Then Data6 = "e" If Data5 = "5" Then Da ...Show All

©2008 Software Development Network