Go Back   DeveloperBarn Forums > Programming & Scripting > Visual Basic Programming

Sponsored Links

Discuss "tag is not displaying in vb" in the Visual Basic Programming forum.

Visual Basic Programming - Learn coding practices and tips to get the best out of your Visual Basic applications. Visual Basic was developed by Microsoft for building stand alone Windows based applications.


Reply « Previous Thread | Next Thread »  
 
LinkBack Thread Tools Display Modes
  #1  
Old July 17th, 2008, 11:19 AM
guddu's Avatar
Barn Frequenter

 
Join Date: Jul 2008
Location: Oxford UK
Posts: 126
Thanks: 6
Thanked 3 Times in 2 Posts
Rep Power: 1
guddu is on a distinguished road
Default tag is not displaying in vb

hi
through my stored procedure i m returning such a string
Code:
 SET @vsResult = 'SUPPLIER CODE / ' + ISNULL(CONVERT(VARCHAR,@vnSupplierID),'<BLANK>') 
 SET @vsResult = @vsResult + ' ' + 'PRODUCT CODE / ' + ISNULL(CONVERT(VARCHAR,@vsProductCode),'<BLANK>')
 SET @vsResult = @vsResult + ' ' +'GL CATEGORY CODES / ' + ISNULL(CONVERT(VARCHAR,@vsGLCategoryCode),'<BLANK>') 
 SET @vsResult = @vsResult + ' ' + 'RESULT: '
in my procedure its returning string as i expected.but problem is in my vb it does not showing <BLANK> TAG.
Code:
With mobjDatabaseReader
                    .SPRun msMsgStoreConnection, _
                    SP_BULKIMPORT_PRODUCTGLCATEGORYDATA, _
                    .MakeParameter("@vnMemberID", adtInteger, apdParamInput, , vlSender), _
                    .MakeParameter("@vnSupplierID", adtInteger, apdParamInput, , asLineCols(lCount, 0)), _
                    .MakeParameter("@vsProductCode", adtVarChar, apdParamInput, 50, asLineCols(lCount, 1)), _
                    .MakeParameter("@vnIsStock", adtInteger, apdParamInput, , IIf(asLineCols(lCount, 2) = "Y", 1, 0)), _
                    .MakeParameter("@vsGLCategoryCode", adtVarChar, apdParamInput, 1000, asLineCols(lCount, 3)), _
                    .MakeParameter("@rsResult", adtVarChar, apdParamOutput, 1000), _
                     vsResult
                End With
what could be problem.
thanks
__________________
Love is physical attraction and mental destruction
Reply With Quote
Sponsored Links
  #2  
Old July 17th, 2008, 11:24 AM
jmurrayhead's Avatar
The Barnfather

 
Join Date: Mar 2008
Location: Reston, VA, USA
Posts: 818
Thanks: 20
Thanked 74 Times in 71 Posts
Blog Entries: 5
Rep Power: 3
jmurrayhead has a spectacular aura aboutjmurrayhead has a spectacular aura aboutjmurrayhead has a spectacular aura about

Awards Showcase
Microsoft .Net Microsoft SQL Server Microsoft Windows Classic ASP 
Total Awards: 4

Default

How are you displaying it in VB?
__________________
jmurrayhead
If you agree with me... click the icon!
If my post solved your problem, click the button in the lower right-hand corner of the post.

Join our Folding team: DeveloperBarn Folding
Reply With Quote
  #3  
Old July 17th, 2008, 11:52 AM
guddu's Avatar
Barn Frequenter

 
Join Date: Jul 2008
Location: Oxford UK
Posts: 126
Thanks: 6
Thanked 3 Times in 2 Posts
Rep Power: 1
guddu is on a distinguished road
Default

like this
vsAllResults = vsAllResults & vsResult & vbNewLine
Reply With Quote
  #4  
Old July 17th, 2008, 12:22 PM
jmurrayhead's Avatar
The Barnfather

 
Join Date: Mar 2008
Location: Reston, VA, USA
Posts: 818
Thanks: 20
Thanked 74 Times in 71 Posts
Blog Entries: 5
Rep Power: 3
jmurrayhead has a spectacular aura aboutjmurrayhead has a spectacular aura aboutjmurrayhead has a spectacular aura about

Awards Showcase
Microsoft .Net Microsoft SQL Server Microsoft Windows Classic ASP 
Total Awards: 4

Default

Okay, but how is it output to the user? popup box? Is it assigned to a Visual Basic form value? Is this being used in conjunction with ASP?

What happens if you replace '<blank>' in your stored procedure with 'testing'?
Reply With Quote
  #5  
Old July 17th, 2008, 12:28 PM
guddu's Avatar
Barn Frequenter

 
Join Date: Jul 2008
Location: Oxford UK
Posts: 126
Thanks: 6
Thanked 3 Times in 2 Posts
Rep Power: 1
guddu is on a distinguished road
Default

this output goes to in a txt file.and let me check for this
What happens if you replace '<blank>' in your stored procedure with 'testing'?
Reply With Quote
  #6  
Old July 18th, 2008, 04:57 AM
guddu's Avatar
Barn Frequenter

 
Join Date: Jul 2008
Location: Oxford UK
Posts: 126
Thanks: 6
Thanked 3 Times in 2 Posts
Rep Power: 1
guddu is on a distinguished road
Default

yeah JMH u are rite
What happens if you replace '<blank>' in your stored procedure with 'testing'?

i chnaged <blank> with 'testing' but even testing also not getting.but in analyzer i m getting.what the hail going on?

Any idea?
thanks
Reply With Quote
  #7  
Old July 18th, 2008, 05:36 AM
guddu's Avatar
Barn Frequenter

 
Join Date: Jul 2008
Location: Oxford UK
Posts: 126
Thanks: 6
Thanked 3 Times in 2 Posts
Rep Power: 1
guddu is on a distinguished road
Default

guys gotted now.actaully from my dll i was passing blank and in my procedure checking for null.
now changed in vb blank to null.

JMH thanks a lot
Reply With Quote
Reply

  DeveloperBarn Forums > Programming & Scripting > Visual Basic Programming

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Webchart Control not displaying in Firefox richyrich .Net Development 1 June 2nd, 2008 01:43 PM


All times are GMT -4. The time now is 02:09 PM.



Content Relevant URLs by vBSEO 3.2.0