Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
S

soodmonu

@soodmonu
About
Posts
7
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • need help...... [modified]
    S soodmonu

    You can find this information from sysobjects table. All the user defined table having the type 'U' So writing a query like this will give u number of tables in a database select count(*) from sysobjects where type = 'U' NOTE :- Check for the table named "dtProperties", it is a system defined table but type is "U" only (so whatever the count comes COUNT-1 will give u exact number), no idea why, if anyone know about this then please clear my doubt regarding this table. :)

    Visual Basic database csharp help question

  • FPOTW
    S soodmonu

    Just waiting for time to get over and then catch the football action. Day preety boring till now.:(

    The Lounge question

  • how to use Substr in Visual Basic.Net
    S soodmonu

    Here the problem is type casting from double to string. let me explain you.... first of all when u declare a double variable as 03.00, the value stored in variable will be 3.0 and when u type cast it to string, it will store as "3" only. so as you can see there is no fourth character in string, substring does not return anything. now what you can do that is : Dim a, c As String a = "03.00" c = a.Substring(3, 2) here in the substring function index is a zero based index, so you have to pass 3 to get the fourth character. and if you donot want to declare as string in the starting and want to proceed with double only, then find some help on double.tostring() function, i think that function can help it should be like Dim x As Double Dim a, c As String x = 3.0 a = x.ToString("0#.00") c = a.Substring(3, 2) Arpan :-D -- modified at 8:47 Thursday 29th June, 2006

    Visual Basic csharp help tutorial question

  • how to use Substr in Visual Basic.Net
    S soodmonu

    You can try like this. dim xyz as string xyz.substring(startindex) and other overloaded form of this function is xyz.substring(startindex, length)

    Visual Basic csharp help tutorial question

  • Resize Form!
    S soodmonu

    U can resize the form dynamically through the code by setting the frmobject.size property.

    Visual Basic question

  • Clearing selected items from comboboxes
    S soodmonu

    i think one way you can follow is to define a variable as Controls....and then put a for loop for each variable in Controls.....then u can have a if statement or case statement inside which can filter all the Comboboxes and in that block u can clear the combobox.....and one thing is "Control is the base class for Buttons, ComboBox, Textbox etc. You may need to cast to appropriate type." this could be something like.... Dim ctr As Control For Each ctr In Controls If TypeOf (ctr) Is ComboBox Then CType(ctr, ComboBox).Items.Clear() End If Next like that it can clear all the comboboxes in that form. This could be one way. anyhow may be you have to format the code a bit, this is just an idea though

    Visual Basic question csharp database

  • PLS HELP!
    S soodmonu

    Right click ur Project and click properties-> select configuration properties from the left hand pane -> then debugging -> from start action, select Start external program radio button and browse the path for winword.exe or in case an application path (c:\Program files\Microsoft Office\ Office\ Winword.exe). So after running the project u will find Word coming up......Check for VS.NET 2005, this is way for 2003.. I hope it will help. Bye

    Visual Basic csharp help tutorial
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups