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

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

wasimf

Member List

forrestcupp
dad26087
proximac
Mongsreturn
paso
timmi o tool
DotNet_Student
bucketofsquid
Sinclair Schuller
RahulB
Scotty12105
AboOmar
Joe Hanna
PaulVC
KAAU
MDesigner
HPEvju
Boogeyman777
arashikage
EYSRG
Only Title

wasimf's Q&A profile

  • Visual C# Math Functions

    Is there anything special that I have to do to do math functions in C# (like #include math.h in C++) if so, what if not, then how do I use math functions I know + is + and * is multiply etc. but I need things like square root and powers, and parenthical notation...can i just enter parenthesis (i wouldnt think that would work because its used in C# for programming notation)... No extra including is needed to use the Math  class (System.Math) which has a whole slew of static functions for many different calculations. ...Show All

  • .NET Development About the finalizer thread and thread-safety

    I'm using C++/CLI. I have some classes that control some native resources (objects from an unmanaged 3rd library). In the finalizer, before deleting the native objects, I need to call a native method of the library to "de-attach" them (remove them from a list, etc.). The problem is that this library is not thread-safe and, since finalization happens on a separate thread, it's my understanding that random crashes may happen during the lifetime of the application. Is this correct Is there a way to have the finalization thread blocked/not executed when execution is inside unmanaged context (or have finalization at the same thread as the application's ) Is requiring from the user to call Dispose the only solution for cleaning up resources, in ...Show All

  • Visual Studio 2008 (Pre-release) What is current plan to support other databases?

    Is the current plan for LINQ to SQL to include support for other databases Or will support for other databases be in another assembly Thanks. I'm also interested in the answer to that question. In particular, does Linq to SQL support ODBC For my application, the best way to support the various target DBMSs is via ODBC. ...Show All

  • Visual C++ "Login dialog to open an executable (exe)"

    Dear friends, I have written an executable in VC++ MFC to perform few banking tasks. I want to make the EXE such that only authorized persons with login and password would able to execute the exe. That is, before opening/going into the main application, I want to check whether the user has authorized or not by using a Login dialog at the very start. Please guide me how to create login id's, passwords and save them programmatically to run my application. And when the authorized user logins, how to verify that the user is authorized or not. I'm very grateful for your help... Thanks in advance, Regards, Nagesh Are you trying to get the Credentials of Windows Logon If you are implementing something that should ...Show All

  • SQL Server help with percision?? if you enter a number in the trillions such 9,999,999,999,999 .net or sql management studio cannot display

    can you please explian this chart: The operand expressions are denoted as expression e1, with precision p1 and scale s1, and expression e2, with precision p2 and scale s2. The precision and scale for any expression that is not decimal is the precision and scale defined for the data type of the expression. Operation Result precision Result scale * e1 + e2 max(s1, s2) + max(p1-s1, p2-s2) + 1 max(s1, s2) e1 - e2 max(s1, s2) + max(p1-s1, p2-s2) + 1 max(s1, s2) e1 * e2 p1 + p2 + 1 s1 + s2 e1 / e2 p1 - s1 + s2 + max(6, s1 + p2 + 1) max(6, s1 + p2 + 1) e1 { UNION | EXCEPT | INTERSECT } e2 max(s1, s2) + max(p1-s1, p2- ...Show All

  • Visual Studio Visual SourceSafe 2005 Internet & Visual Studio 2005

    Hello, I keep having a repeated issue that I hope someone is able to resolve. I am trying to connect to a Visual SourceSafe 2005 on a Windows 2003 Standard Ed. server, that is a domain controller as well. With certain projects, around the 12mb range, i am normally able to open them most of the time, but if a project is bigger, I get an error message "Cannnot contact the Visual SourceSafe Internet Web Service or cannnot access the specified database." "The server returned the following error: The operation timed out (0x80072EE2)". and when I click ok, i get another message box that says "The current source control operation cannnot be completed. The source control plug-in returned the following error: A ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Reference rasterizer

    My graphics card doesn't support Pixel and Vertex shader so i won't be able to do anything interesting with XNA, it's what i have heard. So i started thinking: will i be able to utilize the reference rasterizer (only to learn XNA) XNA supports reference rasterizer in addition to the HAL rasterizer Haha... Finally i got some time (beside my job... so dont say it my boss ) and get it up running... I just took my own class wich inherits from the standard GraphicsComponent and override the FindBestDevice Method in wich the Exception is thrown... then create your own GraphicsDeviceInformation and return it... an you got your reference rasterizer... public partial class myGraphics : Microsoft.Xn ...Show All

  • Visual C++ Can't find entry point for function in C++ Dll called by Visual Basic 6.0

    Does anyone know why I would be getting the above type of error (Run time error '453') when I try to call a function in a Dll created in Visual C++ from a Visual Basic project I've tried just about every method of creating it that I could find on the internet and I would like to get some new ideas. I can send code to be looked at if necessary, but it wouldn't be the only method I've tried. I didn't save all of them. Feel free to send me an email. Thanks for the help. Actually, I still haven't gotten it to work. I tried it but it wouldn't compile with the _API decorations. I haven't as of yet figured out why. I will try some more on monday, but if you or anyone else has any more suggestions, I welcome them. ...Show All

  • .NET Development Reference to objects in Loggedinview.

    I'm trying to do something fairly simple. I have a FormView1 and a GridView1 in he same loggedin view called NoviceView is this not how you refer to these objects because it gives me errors for having the .FormView and .GridView tagged on th end NoviceView.LoggedInTemplate.FormView1.pageindex = NoviceView.LoggedInTemplate.GridView1.selectedindex LoggedInTemplate is of type ITemplate and therefore does not have the controls you added. You assumed that it derived a new type for you (like it does for pages) but it doesn't. Instead you'll have to resort to finding the control by hand. FormView view1 = NoviceView.FindControl("FormView1") as FormView; This will give you access to the control. To make it more seamless y ...Show All

  • .NET Development Display results to the end user as it appears in the 'Autos' window of debugging

    Hi, Can I display the resulted objects to the program user in a 'tree view' as that appears in the debugging window 'Autos' Thanks, Aya. Ok, I have tried that, it displays the properties of the form or a specific button , but when I try to set the SelectedObject to my own object , it displays nothing!! Am I do something wrong Aya. ...Show All

  • Visual Basic Saving changes made by the user during runtime

    hey, Can someone tell me how to save the changes like application backcolour made by the user during runtime please provide code sample if possible thanks In the "My Project" ..."Settings" tab create a user setting called BackgroundColor...then when ever the user changes that color and when the app shuts down save it to the user setting.... Private Sub Form1_FormClosing ( ByVal sender As Object , ByVal e As System . Windows . Forms . FormClosingEventArgs ) Handles Me . FormClosing My . Settings . Item ( "BackgroundColor" ) = Me . BackColor End Sub Private Sub Form1_Load ( ByVal sender As Object , ByVal e As Sy ...Show All

  • Visual Studio Team System How to differentiate the Constructor which generated by Compiler or writen by user

    How to differentiate the Constructor which generated by Compiler or writen by user: I have overrided the check method: public override ProblemCollection Check(TypeNode type) { if (type.NodeType == NodeType.Class) { int memberCount = type.Members.Length; int constructorCount = 0; for (int i = 0; i < memberCount; i++) { Here: What can I do to differentiate the constructor which generated by Compiler or writen by user if (type.Members .NodeType == NodeType.InstanceInitializer) { { constructorCount++; } } } Problems.Add(new Problem(GetResolution(constructorCount.ToString() + NodeType.InstanceIni ...Show All

  • Visual Studio Express Editions Trouble Saving New Projects

    Just installed VB Express. However I can't open new projects passed the initial simple one I've created. Toolbox is empty. Form is missing. Properties are missing. Have registered the IDE but still no luck. DO you see any new project templates (windows application, console application, class library). The toolbox will only be populated if you are currently working on a form in a new project, so if you arent working on a form using the form designer mode then the toolbox wont show any contents.   The properties windows may also not show anything depending upon the current window your are working on - if its a code window then it may not show anything. Are you saying that you dont get any con ...Show All

  • Community Chat VB.NET

    please does anyone know how to create a non visual class that has the behaviour to count characters, words, alphabets, vowels, consonants, digits thanks Hi, No worries... here's an example Imports System.Text.RegularExpressions Public Class Statistics Public Shared Function NumberOfCharactersIn( ByVal text As String ) As Integer Dim matchIndividualChars As MatchCollection = Regex.Matches(text, "(.)" ) 'counts individual characters Return matchIndividualChars.Count End Function Public Shared Function NumberOfWordsIn( ByVal text As String ) As Integer Dim matchIndividualWords As MatchCollection = Regex.Matches(text, & ...Show All

  • Visual C# How to hide the first form when the application starts

    I have an application with a form, with two text boxes as an input of a username and a password. I would like to do that, if the user check a checkbox called "Remember me", at the start, the form isn't shown, but only the systray icon. I got the systray icon to work correctly, but i can't hide the form when the application starts. I tried to associate at the Form_Load event the code this.hide() or this.visible=false, but nothing, the form is still here. Can you help me SetVisibleCore is the method called when you use Visible property or the Show/Hide methods. From the MSDN docs: "Sets the control to the specified visible state. " "You would typically override this method to change the visibility behavior of the c ...Show All

©2008 Software Development Network