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

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

Mohan1

Member List

Tommix99
Socrates Kapetaneas
pmarreddy
smurf347
c1t1z3n0
Rafael Mores
Evan Mulawski
Chris W
cdun2
sanaltsk
Maverick62
Selectis
MustangCobra
InvestorDrew
Goh Wah
nightwish
notaclue
ImGivingUp
xRuntime
robinjam
Only Title

Mohan1's Q&A profile

  • Visual Basic Any way to detect whether SCROLLBAR is present in Rich Text Box?

    I'd like to have a Rich Textbox automatically zoom out (using the .zoom method) if the horizontal or vertical scroll bar is present. But, there doesn't apear to be any way to DETECT whether the scroll bar is being displayed. Anyone have any suggestions Is there any way to detect whether the (my terminology is rusty here) HScroll (or Vscroll) event handler is "attached" to the control (those events are triggered by the user clicking on the scroll bar, so the events themselves aren't helpful. However, I'm thinking that maybe the event handler would only be attached if scroll bars were actually present). Have you tried the ScrollBars property http://msdn2.microsoft.com/en-us/library/system. ...Show All

  • .NET Development Another question about "getElementById"!Thanks.

    hi, Sorry! i'm a beginner. I'm studying JS during these days. And make many questions. The first time i see getElementById at this "var ns6=document.getElementById&&!document.all 1:0". One question ........MSDN says getElementById must have parameter like this getElementById(para). But it does not have here."var ns6=document.getElementById&&!document.all 1:0" i know this sentence mean to detect whether the explorer is IE or NS6. Would you tell me how does this work It really has no parameter. And what value will ns6 return thanks! The statement document.getElementById&&!document.all 1:0 evaluates to a boolean, 1 for true, 0 for false. document.getElementsByID evaluates to ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Runtime model loading

    I am trying to make a level editor with XNA. Unfortunately, I've run into a little snag. I need to load a model from a user chosen location, but as far as i know models need to be first loaded into the programming solution before they can be loaded through the content manager. Is there anyway to do this at runtime fora model thats not part of the solution As long as you can get the models into the .xnb format using MSBuild or VS on the back end, your app should be able to load them at run time. You need to derive from ContentManager and override OpenStream to read assets not stored in the local file system. Won't work on XBox, though. ...Show All

  • Visual Studio Team System Cannot databind a csv file

    I am trying to databind a csv file to a webtest. I am entering the connection properties as "Microsfot Jet 4.0 OLE DB Provider" and advanced extended properties as "Text" and entering the path of the folder in which the .csv file is located. I am not including the name of the .csv file in the path. No tables show up after the data binding is done, a blank "Choose tables from datasource" box appears. This happens no matter how many times i try. The same functionality works on a different system. Any ideas are appreciated....Thanks! I tried doing that option too, creating a new folder with just the .csv file in it, tried at different places, like on a share and also on the lo ...Show All

  • SQL Server Data encryption and keys

    Hi, I would like to encrypt data in my database. I want encrypted column value to be viewable only for certain group of users. Users that has access to my database doesn't meant they can access to my encrypted data. Currently, I am using the following "approach" as my key management. create master key encryption by password= 'MasterKeyPass' CREATE ASYMMETRIC KEY MyAsymmKey AUTHORIZATION MyUser WITH ALGORITHM = RSA_1024 ENCRYPTION BY PASSWORD ='MyAsymmPass' CREATE SYMMETRIC KEY MySymmKey WITH ALGORITHM = DES ENCRYPTION BY ASYMMETRIC KEY MyAsymmKey My data will be encrypted using Symmetric key MySymmKey. User who want to access my data must have MasterKey and MyAsymmKey password. Is it OK Any better way Thank you ...Show All

  • Software Development for Windows Vista Does Vista support two graphics card co-existing in the system?

    I have two graphics card, one is chipset integrated, the other is a PCI-E graphics adapter. Can Vista support both of them simutaneously this is actually the wrong place to post. Best place would be over at the communities: www.microsoft.com/communities and look for Windows Vista. I believe it should but it's all down to the drivers and the motherboard - if it supports dual output ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. The values used in the attempt to create the GraphicsDevice were invalid.

    Is this because my graphic card does not support shader model 2 I didn't even know of this requirement till I saw it on the readme file. Time to change my geforce4 I got it to work. Add this line after the Graphics component is created: graphics.AllowMultiSampling = false ; Then in the WindowsGame_Starting function set graphics.AllowMultiSampling equal to false again. ...Show All

  • Visual Studio 2008 (Pre-release) Is there any preemption between jobs queued to a dispatcher?

    I suppose no, otherwise we would need a synchronization between jobs queued on the same thread. So, when a generic method queued throug Invoke or BeginInvoke is scheduled, is it executed until completion without preemption in favor of other queued jobs Preemption should happen only between different threads, there yes i need to synchronize as well. Is that right Thank you. DispatcherPriority is the only thing I'm aware of that you can use to cause your activity to execute at a higher priority than other scheduled activities. Once the activity is executing it will execute to completion consuming the UI thread. Multiple threads act according to normal .NET and Win32 threading rules with regards to preempti ...Show All

  • SQL Server OLE DB Command transform and Output columns.

    Hi All, I have an OLE DB transform with a SQL Command of: sp_get_sponsor_parent , OUTPUT where sp_get_sponsor_parent is defined like: CREATE PROCEDURE [dbo] . [sp_get_sponsor_parent] @pEID int , @results int OUTPUT AS BEGIN . . . END I map the columns, refresh & OK out of the component without trouble, but on executing the package it fails during validation on this component. I'm utterly stumped. Any light shed would be greatly appreciated. Many thanks in advance, Tamim. This wasn't the problem Rafael - the EXEC is optional. I resolved the issue however, by trialing just this one thing - outputting to a (derived) column within OLE DB Command - in a new/cl ...Show All

  • Visual C# how can i acces a control from another form

    hey i, how can i acces a control (that its in Form1) from Form2... ex. in form1 i have a textbox, and i want to change text from form2.   thx, ( Application .OpenForms[ "frmMain" ] as frmMain ).CurBrowser.Navigate(MyTextBox.Text); it just did :D ...Show All

  • Visual Basic Newbie Question - Yes I've searched. :)

    Bear with me...the last time I programmed was on my Atari 800 back in 1983. I've decided to take up programming again as a hobby. I've done some online coursework and I believe I'm making some decent progress. I've also ordered a book or two but haven't received them yet. This is a simple process I'm sure...I just haven't found a way to do it yet. I've made a form and a simple SQL Database. What this does is show Last Name, First Name, and a quick summary of the person (in this case historical figures.) I want to add a PictureBox that will change when you click on the name of the person. I've got .jpg files in a folder inside the Project. I've searched Help and the Web and most say with VB it's best to store the locations of ...Show All

  • Visual Studio Express Editions Looking For Basic Help

    Right, so I am very knew to visual basic and i see that the new express edition has lots of wonderful tools. My problem is, I have no clue what some of the tools even do! Some basic code would be nice to know as on how to operate them, etc. If there is a place I could find this information, that would be extremely helpful. The 'help' within the program SUCKS and is no use to me at all. i can't find anything in the index or contents, etc. Please help!! MSDN is one source, this contains the help files which contains small examples. Checking out web sites such as MSDN.COM which has some excellent web cast which show how to use functions. http://msdn.microsoft.com/vstudio/express/vb/easytolearn/ Also ...Show All

  • Visual Basic WebBrowser control in vb.net.

    Hi, How can a get the text from WebBrowser control in vb.net. Thread will be moved to the appropriate forum once the forums are back up and running again. You can use the DocumentText property: Dim theHtmlText as String = Me.theWebBrowserControl.DocumentText or you can go into the Document property itself, there you can go into say the Body property to get the body part of the Html page. I hope this link helps you/gives you more information about the control http://msdn2.microsoft.com/en-us/library/system.windows.forms.webbrowser.aspx http://msdn2.microsoft.com/en-us/library/system.windows.forms.webbrowser.document.aspx http://msdn2.microsoft.com/en-us/library/syst ...Show All

  • SQL Server Can we include a variable field value on the table header.

    Can we include a variable field value on the table header. I am doing a page break on every date change and also set the property of he table header to repeat on each page. By doing this ,I am able to get the table header on each page even on page break. I want the changed date to be displayed on the every page break and in the table header. Please help. You should be able to do this without issue. Assuming you have a field which you are pulling from that shows the date, you could do something like this as an expression in the table header. ="Report Header - " & Fields!Date.Value Hope this helps. ...Show All

  • Microsoft ISV Community Center Forums Elegance (and performance) Problem

    Hello, I developed a class (class CMatrix, that holds a lot of functions not really related to the other class) to use in another class. Currently, it's working real fine, but I don't know if there's a better way to handle with this. What I do today is, in the main class: Dim Matrix As CMatrix ... somewhere in a sub or property Matrix = CMatrix.MergeSort(Matrix) ... rest of the code If my CMatrix could acess the data in the main class, it would be fine, bc I wouldn't have to pass nothing. Thx in advance =] In most cases, you don't want to use pass by reference. It usually make the function unintuitive, unless you need to output more than one variable from a function. See those common ...Show All

©2008 Software Development Network