Search results

  1. M

    Convert JSON FILE to XML FILE using POWERSHELL

    I need to convert json file from web to xml file and i need very simple way... There are several data I need from json response... There are a lot of around but they are not very clear... I found some samples like this: PS c:\0> ConvertTo-Xml -InputObject temp_JSON.json -As String PS c:\0>...
  2. M

    Generate dynamic expression from string

    I'd like to generate dynamic expression from string e.g. from string SF = subfolder ' varable "or each" & SF & "in fso.folders.. " to For each subfolder in fso.folders .... where subfolder is variable Actually I need to examine contents in the parent folder which contains n not known...
  3. M

    Copy file (e.g. picture) from android device (e.g. cell phone, tablet...) to PC

    I'm trying to Copy file (e.g. picture) from android device (e.g. cell phone, tablet...) to PC, but i did stack I did get the path and read and execute shell command to the device folder like device =...
  4. M

    Get path to file (e.g. picture) in android device (e.g. cell phone, tablet...)

    I need to get path string to android device or its sd card as be able to copy or get some files(e.g. pictures) to process further.... As I red around not so menu samples about ... 1. I tried go get the file with file dialog "f = Application.FileDialog..." but the directory has not been showed...
  5. M

    Get Progres of Dowloading File from url from vba

    Now I use wininet.dll library to get file and calculate progres of dowloading action .... it is something like this: Do If InternetReadFile(hRequest, VarPtr(Buffer(0)), BUF_SIZE, dwBytesRead) Then If WriteFile(hFile, VarPtr(Buffer(0)), dwBytesRead, dwBytesWritten, 0) Then...
  6. M

    how to change default timeout in Wininet.dll...

    I need to decrease default timeout (which is about 30 sec) in executing the followed code Private Const BUF_SIZE As Long = 4096 ' allocation buffer Private Const INVALID_HANDLE_VALUE As Long = (-1) Private Const CREATE_ALWAYS As Long = &H2&...
  7. M

    Turn on/off the light attached to usb port through VBA

    Enable and disable usb port .... Is it possible enable and disable a usb port via vba? An example of using this would be if I had a light plugged in a usb port and the code would turn it on and off. Or maybe is there s some...
  8. M

    SQL 2000 database I can't create root element with for xml auto, root...

    SQL 2000 database I can't create root element with for xml auto, root "root" with bcp the xml file is created but root is not created.. Is it common with SQL 2000 database This works... but root element is not created exec master..xp_cmdshell 'bcp "select * from mytable" as ROW for xml auto ...
  9. M

    Insert(append) a first line in xml file

    I need to insert(append) first and last line in xml file... So I have xml file and I need to insert one line to the top and at the of the text... Xml file contains Cyrillic characters and method to recreate xml file is going wrong with characters conversions... The last line a can append easy...
  10. M

    I need to retrieve Cyrillic data from MSSQL database with PHP but I get back "???????

    I need to retrieve Cyrillic data from MSSQL database with PHP but I get back "??????? I need to retrieve Cyrillic data from MSSQL database with PHP but I get back "???????" <?php $dbconn = new PDO('odbc:Driver=FreeTDS; Server=xxx.xxx.xxx.xx; Port=1433; Database=xxxxxx; UID=xxxx...
  11. M

    Import table to access 2003 database from json file

    I need to Import table to access 2003 database from json file which i have received from public web service... I did before successfully from xml file.. is it possible from json file as well?
  12. M

    Is it possible to create simple web service with vb6/vba access 2003

    Is it possible to create simple web service with vb6/vba access 2003 to access sql database on server... In the biginig i need only to retrieve some data from sql database If it is..then please let some basic advice what to search around... If it is not some idea what free and simple software i...
  13. M

    Can I hide mapped drive with vb code

    So I do map drive on this way and it is successful ... Dim FSO As Object Dim objFile As Object Dim objFileS As Object Dim WshNet As Object persistent = false set objNetwork = CreateObject("WScript.Network") objNetwork.MapNetworkDrive "driveletter:", "\\server\sharename", persistent...
  14. M

    Set systemtime in win7 with winapi doesn't work:(

    I want to set system time with vba code using win apis I use this code: Option Compare Database Option Explicit Private Declare Function SetSystemTime Lib "kernel32" (lpSystemTime As SYSTEMTIME) As Long Private Type SYSTEMTIME wYear As Integer wMonth As Integer wDayOfWeek As...
  15. M

    Can i detecet ip addresses curently connected on sql server 2000

    Is there a way to get all currently connected addresses to SQL server 2000 from vba client app connected to the server
  16. M

    Refresh linked tables when connection has been lost whit out closing access database

    I have MDB database linked to SQL SERVER through VPN connection... I created links to the sql server .. Links are dsnless... Everything works fine but when I lost VPN connection or sql connection has been broken I can't refresh links to the tables. I receive message 3146 sql connection failed...
  17. M

    refresh SQL connection

    Refresh linked tables when connection has been lost whit out closing access database I have MDB database linked to SQL SERVER through VPN connection... I create links to the sql server with dao method.. everything works fine but when I lost VPN connection i cant refresh links to the tables with...
  18. M

    Urgent....problem with mscomctl.ocx active x control

    I have MDE app in access 2003 ... in two client computers having win7 and msoffice 2007 doesn't work ... problem is progress bar control... error does not recognize object.. I put different versions of mscomctl,ocx file but no success... should i regiter ocx file some how or some other idea...
  19. M

    how to stop running procedure or function with vba

    I need to stop already ran procedure or function with vba code So I use END command ans everything stops.. in some cases that is usefull , but some times need I to do something else after I use END command, but after END everything stops... LIKE THIS : SUB () END ME.CTL.SETFOCUS...
  20. M

    IS THERE ANY alternative for SENDKEYS

    WHEN I USE SENDKEYS in XP i don't have any specific problems... but on win7 they make a lot of confusion with num lock ...when i use sendkeys in win7 num lock sometimes is going off ... so I red around that i could replace them with API but i didn't find any clear example... ANY IDEA TO SOLVE...
Top Bottom