Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. JignasuK

    Access connection object from a MDI form

    Here is document that explains "Accessibility" in msdn. I hope this will help... http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcn7/html/vbconaccessibility.asp enjoy JK
  2. JignasuK

    rss aggregator with vb.net

    Here is sample application MSDN created! http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnexxml/html/xml09152003.asp enjoy JK
  3. JignasuK

    excel

    No...once you have xml file, you open the file in excel. It will ask you few question first time you will open. After you do that save the excel file and you are all set. Jignasu
  4. JignasuK

    Session vriables in another Tier

    Well, Good news...There is certainly a way...Here is what I tried and it works...You can indeed create new session variables from Business Layer... Here is one of the function in my Business class... Public Function Test(ByRef context As HttpContext) context.Session("Test") = "Test" End...
  5. JignasuK

    Session vriables in another Tier

    I am not sure if that could be done or not. But there are other ways you can have those information available to the web appliction. Since you are creating Business Rules Layer, you will have to that Bueiness Rule be used in Web Application. For example, when you access Authticate method of...
  6. JignasuK

    excel

    You certainly can also open using code. I am not sure what exacetly you are trying to do. But if you could explain what is that you need, I might be able to offer other solution/scenario.
  7. JignasuK

    excel

    You don't have to write to excel, you can open xml file using excel! In a sense, you are creating presentation layer using excel. So in future all you have to do is replace underlaying xml file and excel will update automatically.
  8. JignasuK

    excel

    Yes, It is straight dump to excel and it will be nicely formatted. Below is an example of what I dumped to xml file...You also have option to create schema file. ns1:CourseID ns1:CourseName ns1:CourseDesc 28 Test 1 Test 1 32 tEST 2 tEST 2 34 Test X Test X 25 Test 4 Test 4 27 Test Test 29 Test...
  9. JignasuK

    excel

    What you can do is, instead of having to export as excel file, export as xml file and then you can open it in excel. I also know there is a way to export as excel, but need never done that. I hope this will help. Below is the code I used (three lines). SqlDataAdapter1.Fill(DataSet1) Dim...
  10. JignasuK

    Session vriables in another Tier

    I would suggest, instead of having to refer session variable directly, pass them as parameters of the function. Something like below... Private Function NoUserObjectRedirect(CurUserObj as boolean) if CurUserObj = True then .... End End Function When you call a function it...
  11. JignasuK

    Tracing An ASP.Net Page

    Trace.axd file is not a physical file that can be browsed or used. It is generated on the fly when you request it. Jignasu
  12. JignasuK

    Updateable DataGrid

    Yes, Same rules applies as database update. For instance, if you have a view that pulls data from multiple tables you can not use that to update data! But you can execute more than one update commands to achieve that.
  13. JignasuK

    Updateable DataGrid

    Andrew, It is really simple. Below is the sample code for UpdateCommand event of datagrid. Hope this will help... http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwebuiwebcontrolsdatalistclassupdatecommandtopic.asp Jignasu
  14. JignasuK

    asp.net handle field that has null value

    Try using something like below... If Not IsDBNull(objDataReader.GetString(2)) Then ... End If Jignasu
  15. JignasuK

    accessing a user control from another user control (casting)

    Have you looked at MSDN? Below is the link that might answer your question. Hope this helps... http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vblr7/html/vakeyDirectCast.asp Jignasu
  16. JignasuK

    Add a serial number to a Word file

    Here is sample code for Word automation and on that page there are links to more resources. http://support.microsoft.com/default.aspx?scid=kb;en-us;293861 Happy Coding... Jignasu
  17. JignasuK

    Tracking text entry cursor position

    You can code within KeyDown event of text box. Get the SelectionStart value of textbox. Private Sub TextBox1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles TextBox1.KeyDown Label1.Text = TextBox1.SelectionStart End Sub Enjoy. Jignasu
  18. JignasuK

    Find and Replace Common Dialog

    There is a sample code on the Microsoft Visual Basic Developer Center. Below is the link. http://msdn.microsoft.com/vbasic/downloads/samples/default.aspx Look for "Find And Replace Dialog Box" link. Enjoy. Jignasu
  19. JignasuK

    Retrieving data from a n Excel file?

    Jeff, The way I usually do is look at few column I know for sure should have some data. If there are no data in for three continous rows, that is end of the file. I don't know any build in functions that does that. Here is something that might work for you... Do Until blnExit = False 'You...
  20. JignasuK

    Background Intelligent Transfer Service

    Here you go... Great samples on Microsoft site by Duncan Mackenzie. Hope this helps... http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwxp/html/WinXP_BITS.asp http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dncodefun/html/code4fun02282003.asp Jignasu...

Part and Inventory Search

Back
Top