Jump to content

Scripting and Programming

Discussions about everything related to scripting and programming no matter of the programming language you're using.

  1. Has anyone used data visualization controls within Windows Forms applications? I’m working on enhancing a .NET app’s UI and am exploring options for feature-rich and responsive components. I came across Syncfusion’s WinForms UI controls and was curious if anyone here has experience with them or similar tools for customizing data grids, charts, or forms in WinForms. Any advice on performance or ease of integration?

  2. Started by angeleye50,

    looking for a script to help cross post stuff from ebay, posh, mecari, facebook, ect. hope this is the right place to ask and if not sorry.

  3. Hi, can some one help me with? I really want CMD script which will read all files in folder and make CAB archive with MSZIP compression - i need this compression because i moding ported Vista games XMLs in cardlib etc.

    • 5 replies
    • 9k views
  4. Started by thedexmonster,

    Can someone help me with a very simple program that can run in the background? I need to kill a task based on a filename whenever it starts. I am running Windows 10 x64 if it matters.

    • 1 reply
    • 3k views
  5. Hello Wincert guru's help needed for an average user (me) with absolutely ZERO knowledge or experience w/scripting. I've used a "Hide KB's" .vbs in Windows 7 for years and upon attempting to employ the same in Windows 8.1 I get the following error shortly after launching: ---------------------------Windows Script Host---------------------------Script: C:\Users\XXXX\Desktop\HideKBs_Win_8-1.vbsLine: 72Char: 1Error: 0x80240044Code: 80240044Source: (null)---------------------------Contents of the VBS: ' Maxpsoft May 30, 2013, 9:34:15 PM' 06/18/2013 Add extra for Bing Desktop v1.3' 06/28/2013 Updated to continue searching as long as it is finding someth…

    • 1 reply
    • 4.2k views
  6. Started by greenworld,

    I have two EXE files to run on first logon when Windows installation competes, anyone can help me to make SetupComplete.cmd? First file named: one.exe Second file named: act.exe

    • 3 replies
    • 2.6k views
  7. HelL0 guyz... neEd sum HeLp in batch.. I hav a batch script that edits my hosts file, i use it to block facebook on my pc temporarily, becuz i want no one to use facebook on my pc except me.. , so when i'm done on my pc, i just run the batch script and facebook get blocked on my pc.. and also i use it for some other purpose.. Here is my batch script: Quote So its just easy to edit my hosts file via this batch script, but its very annoying to revert the change, becuz to get facebook back, i hav to delete these lines from the hosts file, and i do it manually..So my question is;Is there anyway to delet specific lines from the hosts file with a single batch file like …

    • 8 replies
    • 17.8k views
  8. Started by thedexmonster,

    Hello, I'm trying to install software on particular machines based on operating system and architecture. I've ran into a wall with this bit of code. For some reason it wont set the variable arch when ran remotely. SYSTEMINFO | FIND "System Type" > C:\sysType.txt FOR /F "usebackq delims=: tokens=3" %%c IN (C:\sysType.txt) DO SET arch=%%c ECHO %arch% | FIND "86" > NUL IF %ERRORLEVEL% == 0 ( GOTO VISTA ) ELSE ( GOTO 64 ) I also use this and it works fine: SYSTEMINFO | FIND "OS Name" > C:\osName.txt FOR /F "usebackq delims=: tokens=2" %%c IN (C:\osName.txt) DO SET vers=%%c vers always has a proper value. What am I doing wrong?

    • 5 replies
    • 4.6k views
  9. Started by piczim,

    I have recently started learning to program in c. I have written a very basic program its a currency converter. I would like to know how to put an icon into my program so when its on the desktop it looks nice. I am sure there are more important things for a beginner to learn but its nice to have a finished project.

    • 1 reply
    • 3.5k views
  10. Started by Chris2k,

    Hi Can somebody see where i'm going wrong: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;namespace ImportantChanges{ public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { try { string txt = System.IO.File.ReadAllText(@"./Start/PostInstall.txt"); foreach (string line in System.IO.File.ReadAllLines(txt)) { string[] txtLine = line.Split(':'); …

    • 0 replies
    • 2.1k views
  11. Started by Legolash2o,

    Here is something for those who want to work with WIMGAPI and VB .NET. Just add the module below to your project and use the examples below that to do your tasks. I will be updating it with more functions. If you know any which have not been added yet please post a working example WIMGAPI Module v1.0 The places where you see the number 1, that is the image index. Mount Image If CWIM_MountImage(1,"C:\Wimfile.wim","C:\MountPath") = true then 'DO THIS else 'MSGBOX("There was an error mounting this image") end if UnMount Image If CWIM_UnMountImage(1,"C:\Wimfile.wim","C:\MountPath",True) = true then 'DO THIS else 'MSGBOX("There was an error unmounting this image") end if De…

  12. Started by Legolash2o,

    Hello, i was wondering if any knows the c# code to mount an image and display its progress (%) in text form i.e. "Mounting 3% Complete"). I can mount the image fine but i can't get it to display it's progress. I will display below what code i have... Thanks,much appreciated!

  13. Guest SnapTechSavvy
    Started by Guest SnapTechSavvy,

    -snip-

    • 4 replies
    • 2.9k views
  14. Guest
    Started by Guest,

    well hi every one i'm thinking in learning a language this days but i can't think which one i used to know some about c++ and c so what do you think i should give a try and what book should i buy to learn that language i just want a language that is good and used this days any idea would be appreciated and thx

    • 15 replies
    • 7.1k views
  15. Guest SnapTechSavvy
    Started by Guest SnapTechSavvy,

    I have seen Legolash2go and other other people playing with mounting and unmounting windows images. I know that they also use some modules. Can anyone give me and example for that in vb.net language. Also to get details about the selected images and set it's values in label1, label2 etc.. Hope you understand what i meant say.

    • 0 replies
    • 2.2k views
  16. Does someone know how to make a script with WMIC for searching a file on all drives :questionmark: WMIC is the only way to avoid this popup error "No Disk" that for example happens on the Floppy drive. :type:

  17. Started by sirtex,

    http://compilr.com/

    • 0 replies
    • 2.8k views
  18. Started by lib9,

    hi everyone , i have searched a lot of about how to simulate the effect of holding down CTRL and clicking with left click mouse into files and add them with vbs or vb.net but found nothing could anyone help me please thank you .

    • 0 replies
    • 3.1k views
  19. Started by CocoNuts974,

    Hello, I would like to know if is possible or not to apply a REG file to all registered users during the first open or execute when creating a new user knowing that the registry key is HKCU type. I tried putting HKLM but this does not apply. Someone would have an idea? Best regards

  20. Started by George King,

    Hi, i´m working on new Windows 7 Update Pack Tool and i wrote this: echo Adding registry weaks to enable RunOnceEx for install Special Updates... REG LOAD HKLM\Slipstream "%WIM%\Windows\System32\Config\Software" >nul SET ROE=HKLM\Slipstream\Microsoft\Windows\CurrentVersion\RunOnceEx REG ADD %ROE% /v TITLE /d "Installing updates" /f >nul REG ADD %ROE% /v Flags /t REG_DWORD /d "00000014" /f >nul REG ADD %ROE% /d "%WinDir%\System32\rundll32.exe %WinDir%\System32\iernonce.dll,RunOnceExProcess" /f >nul cd SpecialUpdates set /a NUM=0 if not exist "%WIM%\Windows\Setup\Updates" mkdir "%WIM%\Windows\Setup\Updates" >nul FOR %%f IN ("*.*") DO ( copy /Y …

    • 18 replies
    • 10.7k views
  21. Started by George King,

    Hi, im beginer in C/C++ and i need to add icon into my project, i tryed google, but i cant uderstand how i can do it. Can some write it here step-by-step please?

  22. I have modded Firefox to run completely Aero Glass, but the desktop wallpaper and icons can make some areas of some sites look awful or unviewable. What I want to do is hide the desktop icons and change the wallpaper to all black while firefox has focus, and reverse the change when it loses focus OR terminates. I have a program that when run Hides the icons, and when run again shows them. I also have a Wallpaper changer that can change to any file. This is what I have so far (I know nothing of VBS) HideDesktopFF.vbs (Runs a batch file hidden) Dim a Set a = CreateObject("Wscript.Shell") a.Run "HideDesktopFF.bat",0 This batch file hides the icons and changes the wallpape…

  23. Started by bensam56,

    Hello, I want to create a uxtheme patcher. I want to know how to enable a uxtheme.dll file to accept 3rd party themes. I know there is some 3rd party apps to patch uxtheme. But here i want to create a patch. Help! I'm a VIP member of experts exchange. One member redirected to this site that you guys know the solution for my query....

    • 1 reply
    • 3.9k views
  24. Started by cworkman,

    Hi Im Tryin To Create A Batch File For A Program and i need help! set w=s C:\WinXP\XPCDTOOLS\miso.exe NULL -mnt 1 "C:\WinXP\WinXP9-in-1.iso" pause COPY C:\VRMPVO~1.ISO "C:\WinXP" /Y /V DEL "C:\VRMPVOL_EN.ISO" C:\WinXP\XPCDTOOLS\miso.exe NULL -mnt 1 "C:\WinXP\VRMPVO~1.ISO" for /d %x in ( A B C D E F G H I J K L M N O P Q R S T U V W X Y Z ) do if exist %x:\WIN51IP.SP2 set w=%x XCOPY %w%:\ "C:\WinXP\XPCD" /Y /H /E but when i click on the install.bat the command prompt window pops up but close's what am i doin wrong?

  25. Started by NIM,

    Set SNSet = GetObject("winmgmts:").InstancesOf ("Win32_BIOS") for each SN in SNSet Wscript.Echo "BIOS Manufacturer of this computer is: " & SN.Manufacturer Wscript.Echo "BIOS Version of this computer is: " & SN.Version Wscript.Echo "BIOS Version date of this computer is: " & SN.ReleaseDate Wscript.Echo "SMBIOS Version of this computer is: " & SN.SMBIOSBIOSVersion Next

    • 2 replies
    • 8.1k views