Hello everyone. So I've been working on an small tool, that is using httpwebrequests, its not a bad so far I've got login function and list view loading data from site. But problem is now cookie container so i can do other things than just loading, like editing data. Uri is subdomain so no www. in it also its https. When i try to use: CookieContainer cookies = new CookieContainer(); request.CookieContainer = cookies; Nothing actually happens, container is still empty? So i cant reuse cookie on new function.. Any ideas? Thank you for your time and help!

Member Avatar
Member Avatar
+0 forum 5

Hey everyone, im currently use this class for my small projects: https://www.daniweb.com/software-development/vbnet/threads/361868/disable-ctrl-alt-del Now i have problem, i want to hide my form and close jammer so i use something like this: Private Sub SystemTray() If NotifyIcon1.Visible = True Then KeyboardJammer.Jam() NotifyIcon1.Visible = False taskbar.HideStartButton() taskbar.HideTaskBar() Me.Show() ElseIf NotifyIcon1.Visible = False Then KeyboardJammer.UnJam() NotifyIcon1.Visible = True taskbar.ShowStartButton() taskbar.ShowTaskBar() Me.Hide() End If End Sub Now problem is when i hide my form actually ALT F4 and other keys works.. As it should work. But when i restore my form it works again like 'KeyboardJammer.Jam()' doesnt start at all? o.O And it doesnt …

Member Avatar
Member Avatar
+0 forum 11

Hey is there any way to write out example: a b c.. aa ab ac.. ba bb bc.. ca cb cc... and like that for every character from keyboard To .txt file?

Member Avatar
Member Avatar
+0 forum 3

Okay hello everyone, so I'm using this class to protect app from user using hotkeys while form is running: Imports System.Runtime.InteropServices Imports System.Reflection Public Class KeyboardJammer Private Delegate Function HookCallback(ByVal nCode As Integer, ByVal wParam As Integer, ByVal lParam As IntPtr) As Integer Private Shared HookDelegate As HookCallback Private Shared HookId As Integer Private Const Wh_Keyboard_LL As Integer = 13 Private Const Vk_Tab As Integer = 9 Private Const Vk_Escape As Integer = 27 Private Const vk_Del As Integer = 46 Private Const Vk_F4 As Integer = 115 Private Const VK_LWinKey As Integer = 91 Private Const VK_RWinKey As Integer …

Member Avatar
Member Avatar
+0 forum 2

Hey guys, I have one site with API but it doesnt have any application for using api just codes how to use it, so i wanted to ask you for help. Is it possible to somehow get response from web and list it in listview? Response is looking like this: {"status":"ok","data":[ {"Proxy":{"ip":"117.164.34.81","portNum":"8123"}}, {"Proxy":{"ip":"183.228.73.92","portNum":"8123"}}]}

Member Avatar
+0 forum 0

Hey guys, anyone know if it is somehow possible to grab in picturebox image from website by its id? Its simple captcha i want to show it in picturebox?

Member Avatar
Member Avatar
+0 forum 3

Hello everyone, is there anyway to I run my form user login/logoff on Windows or RDP ? I have registry for adding form to startup. But it doesnt work when i change user or log off and login, it works only when i restart or shutdown pc and turn on again.. Any solution or snippet? Thank you!

Member Avatar
+0 forum 0

Hello there, I have this code: If listItem.SubItems.Item(0).Text = " " Or listItem.SubItems.Item(0).Text = "" Then ListView1.Items.Remove(listItem) End If Now is it possible to make somehow to it actually count how much items got removed ? Want to show it example as: 'Clearing completed. XX Lines were removed.'

Member Avatar
Member Avatar
+0 forum 1

Hello everyone, I'm currently trying to make my application start automatically on pc restart. Now could you help me out with this error: http://screencast.com/t/hmwYmvqg9jK Here is snippet: Dim regKey As Microsoft.Win32.RegistryKey regKey = Registry.LocalMachine.OpenSubKey("SOFTWARE\Microsoft\Windows\CurrentVersion\Run", True) regKey.SetValue(Application.ProductName, Application.ExecutablePath) regKey.Close()

Member Avatar
Member Avatar
+0 forum 1

Hello everyone, I need small help with arrays, been smashing head whole night getting it work, so if anyone know solution for this please let me know here or post example snippet. So i have example code: Dim housing() As String = {"House", "Flat"} Dim people() As String = {"01", "02", "03", "04", "05", "06", "07", "08", "09", "10"} Now i need help how to make third array as: House-01 House-02 House-03 ... House-10 Flat-01 Flat-02 ... Flat-10 Ye it has to have 0 before first 9 numbers :/

Member Avatar
Member Avatar
+0 forum 1

Hello everyone, I need small help.. So I got working text file loading to listview, but if file is to big it get whole app stuck untill it load it out... So my question is, is it possible loading with background worker and progress bar? Here is my current source: Try Dim asd As New OpenFileDialog asd.Title = "Select your combo" asd.Filter = ("Text Files|*.txt") asd.ShowDialog() Dim MyStream As New IO.StreamReader(asd.FileName) Dim strTemp() As String Do While MyStream.Peek <> -1 Dim LVItem As New ListViewItem strTemp = MyStream.ReadLine.Split(":"c) LVItem.Text = strTemp(0).ToString ListView1.Items.Add(LVItem) LVItem.SubItems.Add(strTemp(1).ToString) If strTemp.Length > 2 Then LVItem.SubItems.Add(strTemp(2).ToString) Loop …

Member Avatar
Member Avatar
+0 forum 1

Hello there, is anyone willing to help me converting some small php snippet to C# or vb.net please?

Member Avatar
Member Avatar
+0 forum 2

Can someone help me out writing hex string to file hex address from textbox? This is my current code: private void button1_Click(object sender, EventArgs e) { BinaryWriter wr = new BinaryWriter(File.OpenWrite(listBox1.SelectedItem.ToString())); for (int i = 0x83C410; i <= 0x83C417; i++) { wr.Write(textBox1.Text); } wr.Close(); } But it doesn't work after i click button nothing happens to file, even it doesn't show any error which is kinda strange.

Member Avatar
Member Avatar
+0 forum 4

Hello, does anyone know how to read .exe file and put into textbox info from adress 0x61AA04 example? and to allow me to edit in textbox and save?

Member Avatar
Member Avatar
+0 forum 1

So example i have Box1, Box2, ..., Box5. All are Textboxes Its in row for serial key, if you dont understand i can make screen. Is there anyway i could Copy/Paste all data from all boxes in format like Box1 - Box2 - Box3 etc? and in same way paste it in textboxes?

Member Avatar
Member Avatar
+0 forum 7

Hey there, so i have small problem, my application has mainForm and settingsForm, so is there only possible way to get settingsForm to be started only on first time user starts application so he can configure correct configs and then after it any other starting of application user gets mainForm started?? Is it possible? How if it is?

Member Avatar
Member Avatar
+0 forum 16

Hello there, does anyone have some news system to share with me? Like reading news from xml but to show also links or something?

Member Avatar
Member Avatar
+0 forum 2

Hello, is there anyone who could help me to get all databases and their tables in treeview? Please? All i could find is how to get tables only but not all databases from mysql server. Here is some screen that could maybe help out: http://screencast.com/t/6ysNFSlz7 If anyone could help me out I would be really appreciate.

Member Avatar
Member Avatar
+0 forum 1

Hey all, I'm trying to do something and read text from page to listview in columns, problem is i get first row, but second third etc it dont insert idk why, im talking about ROWs here is my code check it out and let me know what is wrong? Try Dim strTemp() As String Dim LVItem As New ListViewItem strTemp = eResult.Split("!"c) LVItem.Text = strTemp(0).ToString ListView1.Items.Add(LVItem) LVItem.SubItems.Add(strTemp(1).ToString) If strTemp.Length > 2 Then LVItem.SubItems.Add(strTemp(2).ToString) If strTemp.Length > 3 Then LVItem.SubItems.Add(strTemp(3).ToString) If strTemp.Length > 4 Then LVItem.SubItems.Add(strTemp(4).ToString) Catch ex As Exception MessageBox.Show("Error reading file." & ex.Message) End Try

Member Avatar
Member Avatar
+0 forum 3

'm having some problems, can't findout what is problem with my Update system. I'm using XML file for it. What I'm trying is to get application to read xml file for updates(like some news system) and to get updating application if there is new version. I added already on top of project `ReadOnly _reader As XmlReader = XmlReader.Create("C:\launchernews.xml")` Still update system doesnt work, but news system does. Here is code of it: Public Sub AutoUpdate() Dim CurrentVersion As String = My.Application.Info.Version.ToString Dim ProgramName As String Dim GetVer, GetVerLink As String Dim GetUpd As Integer Using _reader While _reader.Read() ' Check …

Member Avatar
Member Avatar
+0 forum 2

Hey guys what I'm really trying to do is that i use same button to open image, convert it and save. Example on first click our button name is "select.." you click it and filedialog opens and you choose image, when you hit okay it changes name to convert, then u click convert and it saves it to your pc. But i cant get it working on second click. Can you check my code please? Here it is: ` Private CurrentFile As String Private img As Image Private Sub icbtn_Click(sender As Object, e As EventArgs) Handles icbtn.Click If icbtn.Text = …

Member Avatar
Member Avatar
+0 forum 8

Hello there, i know there is alot questions about this and source but i could not manage to get it working since im trying to make it using only one letter example F1 or F5 as hotkey to work on non focused form, but im also in need to get it working from textboxes, example i do not want to have fixed to F1 key i would like to make that users can change hotkey button from textbox?? Is there any snippet that could help me doing it? or if anyone is willing to make it work for me please??

Member Avatar
Member Avatar
+0 forum 1

Hello everyone, i need small help since im stuck, and im not that good with php and vB.net connections... So here is the problem, i manage to get connected to db and php script shows me if im connected or not, grab if user/pw is correct everything works fine, but now i do not know how to grab, on new form show up, data from that user and display it in label, like in db it has date of registration, last login and email, i want to get them on my second form.. so if anyone could help me out …

Member Avatar
Member Avatar
+0 forum 6

Hello everyone, I need little help with TCP connection for one gaming server, so basically gaming server is shell and has configs to make it using remote by connecting on 3443 port but with USERNAME and PASSWORD. Is there any possible way to do it? And if it is would someone like to help me?

Member Avatar
Member Avatar
+0 forum 1

Hey guys I'm working on some app for school that will be easier for my class to do homework and so on... Well first of all i got app to convert Degrees, Minutes and Seconds to DECIMAL. But now i need to get DECIMAL back to Degress, Minutes and Seconds, and i can't get it how to make it because I'm terrible with math formulas... Here is what i done so far: [CODE]Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click TextBox4.Text = TextBox1.Text + (TextBox2.Text * 1 / 60) + (TextBox3.Text * 1 …

Member Avatar
Member Avatar
+0 forum 3

Hey guys i tried getting CodeOrder snippet working but it really messup all my tables and such when i try to add for other groups sorting first 3 works fine but when i try to add more everything gets strange :S so if you can fix it ?? Here are my snippets: Form1.vb [url]http://pastebin.com/N2M0N4in[/url] Form1.Designer.vb [url]http://pastebin.com/HSnTjdXz[/url] Please if some one can help me? :/

Member Avatar
Member Avatar
+0 forum 9

Hey guys i need to make app that sends mail... so i want in subject to make text like "Report - dd/mm/yyyy - hour:minutes" do you have any idea how should i make that? :/

Member Avatar
Member Avatar
+0 forum 4

Hey guys well im making premium link generator for some webhosting service... So i want to use more than 1 account because if 2 or more users start app they can download because already some one is downloading w/e i want to make to app alone choose with which one account to connect... How to make that?? Here is code with one account: [CODE]If WebBrowser1.DocumentText.Contains("Forgot your password?") Then With WebBrowser1.Document .GetElementById("username").SetAttribute("Value", "USERNAME") .GetElementById("password").SetAttribute("Value", "PASSWORD") .GetElementById("loginfrm").InvokeMember("submit") End With End If[/CODE]

Member Avatar
Member Avatar
+0 forum 1

Hey guys i need help with this error: Error 1 'All' is a 'variable' but is used like a 'method' 60 [CODE] int Plength = 0; Random Generate = new Random(); int rdmNumber = 0; string Password = ""; string All = ("aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ0123456789`~!@#$%^&*()_-=+[]{};:'|/?.>,<"); if (RB_All.Checked) { if (rbttn_eg.Checked | rbttn_tn.Checked | rbttn_tw.Checked | rbttn_tr.Checked) { for (int i = 1; i <= Plength; i++) { rdmNumber = 0; rdmNumber = Generate.Next(0, 93); Password = Password + All(rdmNumber); } } else { MessageBox.Show("You need to pick a length!"); } } TxtPw.Text = Password; }[/CODE] That is code and error is here …

Member Avatar
Member Avatar
+0 forum 3

As Title say i need help to make code to i get in application listview if Recyclebin has some files in it their name if not then there is no listview... Do you have any idea guys? Tnx

Member Avatar
+0 forum 0

The End.