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 TouchToneTommy 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. JunglesMcBeef

    Records not updating, datareader not showing new records

    I worked out that i needed to sort by ID (ORDER BY) in the readers SQL statement. The reader will cycle through all the records and the last ID will be saved to my variable. Thanks for replying though maytel
  2. JunglesMcBeef

    Records not updating, datareader not showing new records

    Hi, I'm having trouble retrieving an ID field from records I insert into an Access database. The record inserts fine, but then when I read the database again, even if i create new oledb connection and command objects, it doesn't add the new record to the reader, but when i open the database...
  3. JunglesMcBeef

    Redirect to a URL based on the current URL

    Well, obviously my "improved" solution was flawed. So I thought I should post the script I ended up with, tested and complete: <script runat="server" language="VB"> Sub Page_Load(Sender as Object, e as EventArgs) Dim sHost as String Dim sPath as String Dim iStart as Integer...
  4. JunglesMcBeef

    Redirect to a URL based on the current URL

    ok...ummm made it a bit more efficient: <script runat="server" language="VB"> Sub Page_Load(Sender as Object, e as EventArgs) Dim sHost as String Dim sPath as String sHost = Request.URL.Host If sHost <> "xyz123.com.au" Then Response.Redirect("http://" & sHost &...
  5. JunglesMcBeef

    Redirect to a URL based on the current URL

    Found the object almost immediately after posting haha, thx anyway. If you're interested, this is what I was trying to achieve - a simple redirection script for multiple sites hosted within subfolders of a domain (using aliases): <script runat="server" language="VB"> Sub Page_Load(Sender as...
  6. JunglesMcBeef

    Redirect to a URL based on the current URL

    Hey, I'm pretty new to the whole web development side of things. Now, the problem is, i have the code, i just need a page property (the URL) to continue. Here is my code: <script runat="server" language="VB"> Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs)...
  7. JunglesMcBeef

    InvalidCastException when using DLL file

    Like I've already stated, there is return type, void if you like. There is no problem with the class when it is added as an item to the project, it is when I try and reference the dll file it is contained in externally that I get the problem. Am I making any sense at all?
  8. JunglesMcBeef

    InvalidCastException when using DLL file

    Ok, I tried rebuilding the dll file and the new project and that had no positive effect. The procedures I am trying to call are just straight forward procedures, don't return any values, only starts or stops services. When it gets to those procedure, the processing stops and gives a warning...
  9. JunglesMcBeef

    InvalidCastException when using DLL file

    Hi, I have built a dll file, and created a reference to it in a new project. Now when I go to run my new project, whenever it references the class from the DLL file I get an InvalidCastException. This doesn't happen if I add the class as an existing item to my new project, only when I...
  10. JunglesMcBeef

    Refresh system tray icons

    James, What do I need to reference to be able to use Tray.Dispose()? I can't find any information on it anywhere...
  11. JunglesMcBeef

    Refresh system tray icons

    Hi, I was wondering if there is a way to refresh the icons in the system tray. If I kill the process, the icon stays in the taskbar until i wave the mouse pointer over it, then it disappears, even though the process has been killed. If I exit through right clicking on the icon in the taskbar it...
  12. JunglesMcBeef

    Hard Drive not accessible in Logical Disk Manager

    Hi, I have a Western Digital HD(WDC WD800BB) that crashed recently, I have put it as a slave to a new HD to try and recover or get it working somehow. It shows up in bios as the slave drive, and even shows up as a disk drive in Device Manager, but when I click on Disk Management it freezes my...
  13. JunglesMcBeef

    DataGrid not populating

    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vbconintroductiontothedatagridcontrol.asp There are links on this page also that will take you as far in depth to knowing the Datagrid control as you want. I strongly suggest you check out the MSDN online before asking...
  14. JunglesMcBeef

    DataGrid not populating

    You've showed the code for opening a connection and navigating to the first record in the table. Where do you populate the datagrid? Are you populating the datagrid with code or using the GUI?
  15. JunglesMcBeef

    defrag permissions to users

    Defrags can sometimes cause the system to become unstable, I personally don't perform them any more as I have had way too many harddrives completely die on me after a defrag(one 2 yr old hd, and two 5 yr old hds), and other times just needing to reinstall windows after a defrag. For a system...
  16. JunglesMcBeef

    defrag permissions to users

    Right click on the defrag tool in your start menu - programs - accessories - system tools, then click properties. Now click on the security tab and add the users/user groups that are permitted to use the defrag tool.
  17. JunglesMcBeef

    Send keys to an app not in focus

    Ok, but how do I tell whether the page has loaded completely? I don't want to show any results because i'm just logging onto a site and opening another page from it. I can't open the other page until the link has appeared on the page (which only occurs once the page has loaded).
  18. JunglesMcBeef

    Send keys to an app not in focus

    G'day, I'm trying to create a console program that opens IE and sends keys to log in. I have already got it working so the browser opens and can be sent keys while in focus, but I don't want the browser to be in focus when I send the keys. Is there a way to do this? Also, is there some sort of...
  19. JunglesMcBeef

    Inbox isn't refreshing

    G'day, I have noticed in Lotus Notes 6.5.3 that sometimes when a new message is read in the inbox, the Inbox folder still reads that there is a new msg (it still looks like Inbox(1)). Is there any way to address this problem? Is it a well known problem?

Part and Inventory Search

Back
Top