{ Learn Code. Share Code. Teach Code. Love Code. }

  • Search

  • Search it up!

Search found 2756 matches

 Go to advanced search

Re: Determine if exist in unknown folder

 by mandai ¦  Tue Jun 30, 2015 7:08 pm ¦  Forum: Coding Help & Support ¦  Topic: Determine if exist in unknown folder ¦  Replies: 5 ¦  Views: 626

You could use this code to list the user folders and check for the file: Dim users As String() = IO.Directory.GetDirectories("Account") For Each user In users Dim path As String = user & "\save_settings.dll" If IO.File.Exists(path) Then MsgBox("found " & path) End If Next

Re: Computer Service & File Manager

 by mandai ¦  Sat Jun 13, 2015 5:46 pm ¦  Forum: Codenstuff boardroom ¦  Topic: Computer Service & File Manager ¦  Replies: 2 ¦  Views: 417

Hey I don't think there is a particular program for this. You can use the built-in windows services manager, or for VB.Net check out the sample code here

In VB.Net you can also use a FileSystemWatcher to monitor a folder (details here)

Re: Toshiba Satellite Laptop Won't Boot to USB

 by mandai ¦  Mon May 04, 2015 9:46 pm ¦  Forum: PC ¦  Topic: Toshiba Satellite Laptop Won't Boot to USB ¦  Replies: 5 ¦  Views: 1716

If you leave the memory stick plugged in do you see it in the BIOS boot device screen?

Re: Is my PHP contact page corret

 by mandai ¦  Sun Feb 01, 2015 11:35 pm ¦  Forum: Tutorials ¦  Topic: Is my PHP contact page corret ¦  Replies: 7 ¦  Views: 1443

You could use this as a simple test:

Code: Select all
<?php
echo "test";
?>
Do you know how PHP was installed on the server initially?

Re: Is my PHP contact page corret

 by mandai ¦  Sun Feb 01, 2015 6:47 pm ¦  Forum: Tutorials ¦  Topic: Is my PHP contact page corret ¦  Replies: 7 ¦  Views: 1443

It should give the output instead of showing the code, are you able to test a different PHP script in the same folder?

Re: Is my PHP contact page corret

 by mandai ¦  Sat Jan 31, 2015 4:40 pm ¦  Forum: Tutorials ¦  Topic: Is my PHP contact page corret ¦  Replies: 7 ¦  Views: 1443

It seems the form does not submit. You can update the HTML form to resolve this:

Code: Select all
                   <a id="contact-submit" class="submit" onclick="document.getElementById('contact-form').submit();" href="#">Send Your Email</a>

Re: How to grab specific element to value

 by mandai ¦  Fri Jan 02, 2015 8:39 pm ¦  Forum: Coding Help & Support ¦  Topic: How to grab specific element to value ¦  Replies: 9 ¦  Views: 518

If you parse the XML you could use this code to get the title attribute: Private Sub btnTest_Click(sender As System.Object, e As System.EventArgs) Handles btnTest.Click Dim input As String = "<a href=""/teams/italy/fc-internazionale-milano/1244/"" title=""Inter"">Inter</a>""" Dim inputReader As Stri...

Re: GSM Help (C)

 by mandai ¦  Sat Nov 29, 2014 7:18 pm ¦  Forum: Misc ¦  Topic: GSM Help (C) ¦  Replies: 1 ¦  Views: 843

GSM is only used for phone calls/SMS, in order to send an email you would need to write a phone app

Re: All About .reg file

 by mandai ¦  Fri Nov 14, 2014 12:18 am ¦  Forum: Coding Help & Support ¦  Topic: All About .reg file ¦  Replies: 9 ¦  Views: 706

Rhez wrote: just like that then silently add it to the registry. Can anyone help ?
You can import the data with regedit in silent mode:
Code: Select all
        Dim psi As ProcessStartInfo = New ProcessStartInfo()
        psi.FileName = "regedit.exe"
        psi.Arguments = "/s file.reg"

        Process.Start(psi)

Re: Get MAC Address

 by mandai ¦  Sat Nov 08, 2014 6:29 pm ¦  Forum: General coding help ¦  Topic: Get MAC Address ¦  Replies: 1 ¦  Views: 859

In Managed C++ it would look something like this: private: String^ GetMacAddress() { const int MIN_MAC_ADDR_LENGTH = 12; String^ macAddress = String::Empty; __int64 maxSpeed = -1; for each (NetworkInterface^ nic in NetworkInterface::GetAllNetworkInterfaces()) { log.Debug("Found MAC Address: " + nic-...

  • 1
  • 2
  • 3
  • 4
  • 5
  • 276