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

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

Adhi78

Member List

bilalso
Anandvj
paso
DGRASoft
Worf
Antarctica
Tim5827
sreevidya
Grant21763
Visualbrin
MarketMaker
Jon Bishop
suranga_d
Adam Miles
jwhansen
AlGor456
xplosiv_1
Suman Ghosh
Igor Solodovnikov
Vitaliy Kochubiy
Only Title

Adhi78's Q&A profile

  • Visual Studio CR always ask password for login to MSSQL when open form (No More Login Page for Visual Studio 2005 Crystal Reports)

    My CR always ask password for login to MSSQL when open form all data is come from that SQLServer , How to stop CR ASK user & password when i open form thank you rpv is name of crystalreportviewer control that I (and you aslo ) need to use in show report form. ...Show All

  • Visual Basic How to use a custom class?

    I have just created a new class: Public Class ColunaM80 Public Quantidade As Integer = 1 Public Altura As Integer = 0 Public Chapa As String = "14" Public Corte As Integer = 200 Public Material As String = "# COS CIVIL" Public Acabamento As String = "PINTADO" Private p_chapa As Double Private i_M80 As Double ReadOnly Property Peso() As Double Get Peso = Quantidade * PesoChapa * Corte * Altura End Get End Property End Class This class was written in the same project I trying to use it, and when I write something like: Dim Col01 As ColunaM80 Col01. it doesn't shows up the pr ...Show All

  • Software Development for Windows Vista How to capture sound from mic at 8000 samples/sec & 16 bits/sample

    Hi All, I am trying to create a capture stream using IAudioClient::Initialize ( ) in which the 5th parameter "pformat" (input) allows the user to specify the wave format. I have initialized "pformat" to specify a wave format with 8000 samples/sec & 16 bits/sample, but the IAudioClient::Initialize ( ) fails. Could anyone kindly advice WASAPI cannot perform sample rate conversions. You can either select one of the device's supported formats and then convert it to your desired format, or you can use one of the higher level APIs. ...Show All

  • Visual Studio Express Editions My.Computer.Keyboard.SendKeys test works so-so

    I figured it's about time for me to try out 'sendkeys' so I modified the help example slightly and my code does not work too well. Using button 2 (below), only occasionally results in additional text being added to Notepad. What did I miss Public Class Form1 Dim ProcID As Integer Dim ss As String = "Here is a little bit longer string" & _ " and it even goes to a second line" Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click ' Hit button one first, just one time ProcID = Shell( "notepad.EXE" , AppWinStyle.NormalFocus) AppActivate(ProcID) My .Computer.Keyboard.SendKeys(ss, True ) ...Show All

  • Visual Studio Documenting public nested classes/types produces incorrect namespace

    In the namespace overview the parent class of a nested-class is not shown. Also in the class-overview this parent class is not shown. It appears as if the nested class is a 'root'-class in the namespace displayed. However, this nested-class isn't located there, but its parent class is. T his is very irritating when a user tries to instantiate a public nested-class based upon the documentation (the documentation doesn't display the right namespace the class is located in). I've fixed this in my sandcastleGUI program ( http://www.inchl.nl/SandcastleGUI ) by parsing the outputted html, but I believe it should be fixed in the Sandcastle builder-program. Your post was little confusing. I believe you mean “ ...Show All

  • Visual Studio Team System How to export Code Coverage Result in a readable format?

    Only XML is supported for exporting the Code Coverage Result. Is there a way that I can retrieve a readable report as nice as it displays in the VS Thanks, Lan Using the same approach of this question, is there a way of exporting all Code Analysis rules to an external file. I decided which rules need to be fixed/checked and now i want to create a template having all those rules. Please, how can i do it Thanks, Enoque ...Show All

  • Windows Forms Setting Application Theme/ColorTable

    Hi all, In my project, I want to use WinXP theme with blue color schema whatever user's machine color schema ( if user enabled WinXP theme ). It is easy to setup blue color schema for menustrip, toolstrip, etc. with the helps of custom Professional ColorTable. I have used reflection to get values of AreteOutlookCustomColorTable properties. However I need that all controls' of application with blue schema colors. How can I do this ToolStripManager.Renderer = new ToolStripProfessionalRenderer(new AreteControls.OutlookStyleItems.AreteOutlookCustomColorTable()); using System; using System.Collections.Generic; using System.Text; using System.Windows.Forms; using System.Drawing; namespace AreteControls.OutlookStyleItems { /// <summary> ...Show All

  • Visual Studio 2008 (Pre-release) What's the distinction between "c:" "src" and "x:"

    What do they really designate to the XAML compiler In fact, it is just some aliases. It is defined in ResourceDictionnary. For example, you probably have something like this : xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " And when you use x:Key, x is a reference to " http://schemas.microsoft.com/winfx/2006/xaml ". If you want to replace "x" by "toto", you can do it. With this, you can reference other assembly. You can see a sample here: http://wpf.netfx3.com/files/folders/controls/entry5875.aspx . Look at InfoTextBox. It is a great sample! ...Show All

  • SQL Server Convert Long To DateTime

    Hi. I need to convert a vb function into a user-defined function in a stored procedure. The vb function converts a long datatype into Date datatype. Here is the VB function: Function LongToTime(lTime As Long) As Date LongToTime = (lTime \ 10000) / 24 + ((lTime Mod 10000) \ 100) / 1440 + (lTime Mod 100) / 86400 End Function The function is used to convert a timestamp(hhmmss) into a more readable format. Would it be possible to create a function similar to this in an SQL stored procedure Thanks in advance Wesley translation of your vb function should be CREATE FUNCTION fn_LongToTime ( @lTime int ) RETURNS smalldatetime AS BEGIN DECLARE @dt smalldatetime ...Show All

  • SQL Server Error on Install

    I'm getting an error when trying to install the SQL Server 2005 Express. After it installs the Native Client & Support file, it goes through a configuration check. I'm getting this error (complete) :: The SQL Server System Configuration Checker cannot be executed due to WMI configuration on the machine <machine name> Error: 2147746132 (0x80040154) and then stops. Suggestions would be great!!! The above technique fails to resolve an in issue I'm having trying to install Microsoft Office Accounting 2008 Pro on a Window Vista Ultimate laptop. It was worth a try, but no dice. ...Show All

  • Windows Forms splitContainer problem/bug in .NET 2

    Hello, I want to draw nice splitter in splitContainer. To do this, I call method below in splitContainer1_Paint event. private void splitContainer1_Paint( object sender, PaintEventArgs e) { ProfessionalColorTable pct = new ProfessionalColorTable (); Rectangle bounds = (sender as SplitContainer ).SplitterRectangle; // Make sure we need to do work if ((bounds.Width > 0) && (bounds.Height > 0)) { Graphics g = e.Graphics; // Setup colors from the provided renderer Color begin = pct.OverflowButtonGradientMiddle; Color end = pct.OverflowButtonGradientEnd; // Make sure we need to do work using ( Brush b = new LinearGradientBrush (bounds, begin, ...Show All

  • Architecture MITM attack

    Hi All, Can somebody please let me know about the mitigations strategies available for "Man in the middle attack" vulnerability. regards http://search.msn.com/results.aspx form=DESKBR&q=man+in+the+middle+attack ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. 10 things to do while waiting for XNA Game Studio Express

    1. Read every single blog and forum post trying to find something new about it 2. Refresh your emails every 20 seconds hoping for a new mail from Microsoft 3. Stare at the wall 4. Make Content for your to be games ( lots and lots of content) 5. Design a game that will soon be forgotten about when the download is ready 6. Run to the fridge and stock up on supplies for when you start your game making 7. Make some more content ( there is no such thing as too much) 8. Read a book ( Book ) 9. Think about how awsome this is going to be 10. refresh your email again If all else fails repeat step 3 until step 2 is sucessful 16. Write game code so you can just plug it into your GSE p ...Show All

  • SQL Server Create an array in a result field

    I am between the "newbie" and "intermediate" stages of writing SQL code and I am wondering if there is a way to capture multiple results into one field so I can basically create a "set" for a unique identifier.  Here is few result samples I receive from this code I am using now.   ReqNo                ProcID 7102005           1409 7102005           1796 7139003           1411 7139003           6097 7261030           1409 ...Show All

  • .NET Development Raising an event

    Hello Suppose I have a class called C which defines an event called E and a method called M. Only one delegate registered to E In the method M I have the following code: do some work - part I Raise event E do some work - part II My questions are: Is it guaranteed that the delegate linked to event E will be completed before "do some work - part II" code is executed Is there any difference in the behavior if I'll invoke Application.DoEvent method after raising the event Is there a difference, behind the scene, between invoking a method using event and invoking the same method by calling a delegate of that method Thanks, Gil Hello, 1) Yes. 2 ...Show All

©2008 Software Development Network