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
S

Small Rat

@Small Rat
About
Posts
105
Topics
68
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • asp run sql server stored procedure problem??
    S Small Rat

    Hi, I have a stored procedure in sql server like this: create procedure sp_insert ( @some_value float ) as --insert statement here and the column is defined to float go I call it in ASP. and the code like this set cmd=function to create the command cmd.Parameters.Append cmd.CreateParameter("@some_value",5,1,,CDbl("text_value_here")) cmd.execute I got the error message to complain about can not convert nvarchar to float all the time. BTW, the function to create the command object is tested working. My question is: How to deal with the float parameter in ASP code? Thanks a lot in advance!

    Alan Shen MCAD for .NET Version ^~^~^~^~^~^~^~^~^~^~^ Great idea is the beginging of success!

    Web Development database help question csharp sharepoint

  • Debug into unmanage code??
    S Small Rat

    yes, all the projects are in the same solution. and I can compile it and run it. all the existing functions work fine. I want to add some new funcitons, so I need to debug into it!

    Alan Shen MCAD for .NET Version ^~^~^~^~^~^~^~^~^~^~^ Great idea is the beginging of success!

    C# csharp c++ visual-studio debugging question

  • Debug into unmanage code??
    S Small Rat

    Hi, I have a project mixed with C++ and C# in VS 2003. I tried to debug into the C++ code. but it never stop at any break point. I use CoCreateInstance to create the C++ object (C# call a c++ library #1 -- managed C++, lib #1 call CoCreateInstance to create the final object). I want to step into the function call to that object. I have the source code for all the C# and C++ projects. I set the "Enable unmanaged debugging" to true and also "allow unsafe code blocks" to true already. but it I can debug into library 1 only!! does any one has some idea about this!!! Thanks a lot in advance!

    Alan Shen MCAD for .NET Version ^~^~^~^~^~^~^~^~^~^~^ Great idea is the beginging of success!

    C# csharp c++ visual-studio debugging question

  • string searching??
    S Small Rat

    I want get all the occurences for one string (e.g. keyword) in an ASP or html file. But I want to ignore some special html/asp tag that includes the searched string (in my case it is "keyword"). for example: 1) this is a test keyword string. (I want this) 2) <a href='#'>the is second keyword</a> (I don't want this) 2) <% 'this is keyword in asp code %> (I don't want this) I know regular express may solve this problem. But I don't know how?? Can somebody give me an example regular exression for this?? Thanks a lot!

    Alan Shen MCAD for .NET Version ^~^~^~^~^~^~^~^~^~^~^ Great idea is the beginging of success!

    C# csharp html algorithms help tutorial

  • regular expression questions???
    S Small Rat

    Hi, I want get all the occurences for one string (e.g. keyword) in an ASP or html file. But I want to ignore some special html/asp tag that includes the searched string (in my case it is "keyword"). for example: 1) this is a test keyword string. (I want this) 2) the is second keyword anchor (I don't want this) 2) <% 'this is keyword in asp code %> (I don't want this) I know regular express may solve this problem. But I don't know how?? Can somebody give me an example regular exression for this?? Thanks a lot!

    Alan Shen MCAD for .NET Version ^~^~^~^~^~^~^~^~^~^~^ Great idea is the beginging of success!

    The Lounge csharp html regex help tutorial

  • Windows Media Player 11 Repeat???
    S Small Rat

    Hi, I embedded windows media player 11 on a form, and I add a few files to the currentplaylist of it. like: WMPLib.IWMPMedia m= wmp.mediaCollection.add(sFile); wmp.currentPlaylist.appendItem(m); I want this playlist "Repeat" forever. but the function "repeat/Ctlcontrols.repeat" is gone. How to do this???? I don't want to create my own timeline thread to check the duration by the way. Also I could not use the StatusChange and PlayStateChange event, it is not recommended by MS. thanks a lot in advance!!

    Alan Shen MCAD for .NET Version ^~^~^~^~^~^~^~^~^~^~^ Great idea is the beginging of success!

    C# csharp hardware tutorial question announcement

  • How to draw full DataGrid row???
    S Small Rat

    Hi All, I want to add grouping function to DataGrid(vs 2003) control, like outlook. but I need a row (cover columns) to show the group title. By the way, my datagrid is bound to Arraylist! Does anyone have ideas about how to draw a full row in DataGrid control (not DataGridView)? This row will cover all the visible columns. and there should no grid line, the content need to cover all the columns. Thanks a lot for any suggestion!!

    Alan Shen MCAD for .NET Version ^~^~^~^~^~^~^~^~^~^~^ Great idea is the beginging of success!

    C#

  • another topmost form????
    S Small Rat

    Hi, Is there a way to tell if a form is on top of all the other windows application. In another word, I want to know if the form covered by somthing or fully visible to user. Thanks in advance for any suggestion! Alan

    Alan Shen MCAD for .NET Version ^~^~^~^~^~^~^~^~^~^~^ Great idea is the beginging of success!

    C# csharp question announcement

  • Datagrid parent children rows???
    S Small Rat

    Hi, Does anyone have some idea about how to implement parent/children rows in Datagrid control if I bind ArrayList to the datagrid. I want to fold the children rows in some cases. also the parent have similar data structure as children. Thanks in advance!!

    Alan Shen MCAD for .NET Version ^~^~^~^~^~^~^~^~^~^~^ Great idea is the beginging of success!

    C# csharp tutorial question announcement

  • control visible property?????
    S Small Rat

    Hi, I want to control the show/hide to another program. I use Process to start the program and make the initial window status Minimized. then I use Process to get the program main window handle and use windows API showwindow to hide the program i just started. Everything looks fine but one thing. some of the control's visible property (or event, like viisble changed) in the started program are not correct. for example, the button is visible in the GUI, you can click and execute something, but you always get false when you check (get) the visible value . but I can use windows Api like iswindowvisible to get the right visible value. I can use API to set/get the right value, but the related event fired are not correct!! BTW, the program I started is created by C# (VS 2005). Does anyone have some idea about this. Thanks a lot in advance.

    Alan Shen MCAD for .NET Version ^~^~^~^~^~^~^~^~^~^~^ Great idea is the beginging of success!

    C# csharp visual-studio json tutorial question

  • .NET Remoting Channels???
    S Small Rat

    Hi, I have 2 components created by VS 2003. both of them create its own TcpServerChannel and TcpClientChannel. I try to intrgrate the 2 components into 1 program. but the channels confict to each other. In detail: 1. component 1 create TcpServerChannel_1 and TcpClientChannel_1 2. component 2 create TcpServerChannel_2 and TcpClientChannel_2 3. start component 1, 4. start component 2, 5. Problem: the communication for component 2 doesn't work. it seems the data send from TcpClientChannel_2 to TcpServerChannel_2 is trying to use TcpClientChannel_1. does anyone have a solution to make the 2 components work in one program??? Note: I see the channels information from debug. I can not change the components! Thanks a lot in advance!!

    Alan Shen MCAD for .NET Version ^~^~^~^~^~^~^~^~^~^~^ Great idea is the beginging of success!

    .NET (Core and Framework) csharp visual-studio debugging help question

  • Dataset copy
    S Small Rat

    hi, I create a dataset and fill it with access database. everything is fine, I can see the data in the binded grid control. but i have an exception when I do the copy operation. the exception says, the dataset can not pass the constrains (non null, foreign key...). I think I can not create the first dataset if the data is wrong? does anyone have idea about this? Thanks a lot! Alan Shen MCAD for .NET Version ^~^~^~^~^~^~^~^~^~^~^ Great idea is the beginging of success!

    C# csharp css database question announcement

  • DataGridView grid lines???
    S Small Rat

    hi, does any one have an idea about how to show the Gird Lines in the whole DataGridView (VS2005) client area even the binded data list is empty? Thanks a lot!! Alan Alan Shen MCAD for .NET Version ^~^~^~^~^~^~^~^~^~^~^ Great idea is the beginging of success!

    C# csharp css tutorial question announcement

  • Language problem??
    S Small Rat

    Hi, does anyone know how to get the language information for a given string? thanks!! Alan Shen MCAD for .NET Version ^~^~^~^~^~^~^~^~^~^~^ Great idea is the beginging of success!

    C# csharp help tutorial question announcement

  • xml asp problem??? [modified]
    S Small Rat

    Hi all, I have a very weird problem: I have a web page (myfeeder.asp) to generate very simple xml content. I use ie to navigate to the page, I can see the xml content on MOST of the pc. the xml like: <?xml version="1.0"?> <ads> <ad> content here. </ad> </ads> My problem is, I CAN NOT get the xml content from some of web server's IE. what I got is nothing or just the structure, like below. It also happpends to some linux server. <?xml version="1.0"?> <ads> <ad> </ad> </ads> I know the server/pc that can not get the xml content is using re-writing. I have no idea what cause the problem!! Does any one have the same experience!!! Please help me to solve the problem!!!! Thanks in advance!! Alan Shen MCAD for .NET Version ^~^~^~^~^~^~^~^~^~^~^ Great idea is the beginging of success! -- modified at 23:09 Wednesday 24th May, 2006

    Web Development help csharp sysadmin linux xml

  • xml content problem?????? [modified]
    S Small Rat

    Hi all, I have a very weird problem: I have a web page (myfeeder.asp) to generate very simple xml content. I use ie to navigate to the page, I can see the xml content on MOST of the pc. the xml like: <?xml version="1.0"?> <ads> <ad> content here. </ad> </ads> My problem is, I CAN NOT get the xml content from some of web server's IE. what I got is nothing or just the structure, like below. It also happpends to some linux server. <?xml version="1.0"?> <ads> <ad> </ad> </ads> I know the server/pc that can not get the xml content is using re-writing. I have no idea what cause the problem!! Does any one have the same experience!!! Please help me to solve the problem!!!! Thanks in advance!! Alan Shen MCAD for .NET Version ^~^~^~^~^~^~^~^~^~^~^ Great idea is the beginging of success! -- modified at 23:04 Wednesday 24th May, 2006

    XML / XSL help csharp sysadmin linux xml

  • DataGrid Column Header
    S Small Rat

    hi, actually I am using the DataGrid control (not DataGridView) from the vs2005. I know is not recommanded. but for some history reason I have to use it. also I bind the grid to a arraylist. I want show the triangle icon when I sor the selected column. I just want to simple sort the arraylist and use refresh to update the binding. it works, but I can not see the little triangle. do you have any idea about this??? Thanks a lot! Alan Shen MCAD for .NET Version ^~^~^~^~^~^~^~^~^~^~^ Great idea is the beginging of success!

    C# csharp question announcement

  • DataGrid Column Header
    S Small Rat

    How do I know if the current cell is the header cell when I override the paint method? thanks!! Alan Shen MCAD for .NET Version ^~^~^~^~^~^~^~^~^~^~^ Great idea is the beginging of success!

    C# csharp question announcement

  • DataGrid Column Header
    S Small Rat

    Hi all, is there any way to customize the looking of the column header of datagrid?? Alan Shen MCAD for .NET Version ^~^~^~^~^~^~^~^~^~^~^ Great idea is the beginging of success!

    C# csharp question announcement

  • DBGrid problem???
    S Small Rat

    Thanks a lot!!! Alan Shen MCAD for .NET Version ^~^~^~^~^~^~^~^~^~^~^ Great idea is the beginging of success!

    C# question csharp help tutorial announcement
  • Login

  • Don't have an account? Register

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