Posts
 
Reputation
Joined
Last Seen
Ranked #217
Strength to Increase Rep
+10
Strength to Decrease Rep
-2
92% Quality Score
Upvotes Received
78
Posts with Upvotes
72
Upvoting Members
47
Downvotes Received
5
Posts with Downvotes
5
Downvoting Members
5
26 Commented Posts
4 Endorsements
Ranked #396
Ranked #123
~179.55K People Reached
About Me

I don't fit in just a nutshell ;)

Interests
coding and gaming
Favorite Tags
Member Avatar for GeekByChoiCe

Thread title sounds weird, but what i meant is following thing: For the sake of Karma i am not willing to help users, who need help with coding trojans, viruses, worms and other harmful things, and also users who are not willing to mark their threads as solved (not talking …

Member Avatar for Dani
0
504
Member Avatar for BleepyE

Here is a sample module i used in one of my projects.... [CODE=vb] Imports System.Net.Sockets Imports System.Text Module Module1 Sub Main() Console.WriteLine(RconQuery("11.111.111.11", 20100, "myRcon", "status")) End Sub Friend Function RconQuery(ByVal ip As String, ByVal port As Integer, ByVal rcon As String, ByVal cmd As String) As String Using udpClient As …

Member Avatar for chris.weisskeiner
0
1K
Member Avatar for Mike Bishop

[CODE=vb] If Me.txtLine2Rcon.Text = "" Then MsgBox("Please insert a running condition for Line 2 before you add it to the database", vbOKOnly) return end if Dim NewLongDesc As String ... [/CODE]

Member Avatar for Deep Modi
0
257
Member Avatar for xfrolox

[CODE=vb] Dim p() As Process = Process.GetProcessesByName("notepad") For Each proc As Process In p Console.WriteLine(proc.MainWindowTitle) Next[/CODE] Will print all notepad window names. The EnumWindows is mostly used for getting the child windows of a process (which is not the case for notepad anyway)

Member Avatar for olegb
0
2K
Member Avatar for scothy

[QUOTE]I tried the below code.[/QUOTE] I dont think so... The code you posted is c# and not VB.Net Please post the code you have so far (not some random copy) and im sure someone will help you.

Member Avatar for parunyu.suttibut
0
778
Member Avatar for aabbccbryanmark_1

You declared the function as Integer but you returning a string. Change the function return type to String: Public Function analyzeTotalFilesSize(Path) As String

Member Avatar for GeekByChoiCe
0
180
Member Avatar for tirso

in my oppinion the easiest way would be to create an overloaded New and call it with parameter (byval caller as From) example: [code=vb] Public Sub New(ByVal caller As Form) InitializeComponent() Select Case caller.Name Case "Form2" Case "Form1" Case Else End Select End Sub[/code] and call the new form like …

Member Avatar for luck_1
-1
6K
Member Avatar for mavtcr

Dim thisDate1 As Date = Now Debug.Writeline(thisDate1.ToString("dd/mm/yyyy"))

Member Avatar for G_Waddell
0
959
Member Avatar for boher

Have you considered to just sort the datatable by "Time" ? If this is an option for you then check out this link: [Click Here](http://msdn.microsoft.com/en-us/library/zk13kdh0%28v=vs.71%29.aspx)

Member Avatar for chuchaykaw18
0
256
Member Avatar for pdmaduranga

Kinda weird question to be honest. As .NET IS MICROSOFT. If you wont use Visual Studio then you could try => http://www.mono-project.com/Main_Page If you won't use .NET at all then you still code in VB6.

Member Avatar for G_Waddell
0
237
Member Avatar for Jamblaster

Hello, If you have added the type of exception then you could expect a bit better help.So first of all I would advice you to add a Try/Catch block around the line which causes the error and read the exception message. For now I assume you get an "ArgumentOutOfRangeException". Try …

Member Avatar for Jamblaster
0
176
Member Avatar for xxn5

I don't want to be rude but based on the questions you ask'd I have some doubts you have the knowledge (of coding and understanding) to prevent any hacker from hacking. I am really sorry but securing a computer needs knowledge about computer structures and ofc coding. /me is takes …

Member Avatar for Mr.M
-2
282
Member Avatar for GeekByChoiCe

Hey guys, I am desperated right now. Im my application i want to export some data from an entityset to excel. So far so good. But i want to exclude some properties. So i thought creating a custom attribute for those properties is might a good idea to make things …

0
117
Member Avatar for yorro
Member Avatar for raaif

this might give you an idea [CODE=vb] Imports System.Xml.Linq Dim xmlFile As XDocument = XDocument.Load("C:\Users\GeekByChoiCe\Desktop\test.xml") Dim _content As IEnumerable(Of XElement) = xmlFile.Root.Elements("word") ListBox1.DataSource= (From g In _content Select g.@id).ToList ListBox2.DataSource= (From g In _content Select g.@def).ToList [/CODE]

Member Avatar for softwareskill
0
222
Member Avatar for Netcode

Please show us your code that you have so far. You can't expect us to write the complete code for you.

Member Avatar for laurencenico.sembrano
-1
93
Member Avatar for Kamlesh_sj08

are you closing teh socket when client discoonnects? mibby this link helps: [url]http://msdn.microsoft.com/en-us/system.gc.addmemorypressure.aspx[/url] the error System.OutOfMemoryException means exactly what it says. so check if you create/open any files and not disposing them (like client information, hashtables, datareaders and so on). are you synclock the stream? check the stack trace of …

Member Avatar for gerdal
0
611
Member Avatar for bluehangook629
Member Avatar for Rango1239_2
0
1K
Member Avatar for Oneryavuz

Please post the EXACT error you get. Also make sure you have the correct .NET version installed on your Win7 machine

Member Avatar for Oneryavuz
0
117
Member Avatar for tashee2007

Shouldn't you clear the databinding BEFORE you add a new binding? [CODE] cboOrganization.DataBindings.Clear() cboOrganization.DataBindings.Add(New Binding("SelectedValue", ds.Tables(bsTableName2), "OsID")) [/CODE]

Member Avatar for robea
0
287
Member Avatar for AndyPants

Is a timer added to your Form? If so, set its Interval to something bigger that 0. Else check all your controls, you have added to your form and see which control has a Value of 0 and change it to 1.

Member Avatar for GeekByChoiCe
0
669
Member Avatar for mikeybware

You should put the whole connect/sending process into a backgroundworker to keep the UI responsible. Also you should add a try/Catch block around catching the SocketException, which occurs if the client is not online or IP address not reachable.

Member Avatar for mikeybware
0
354
Member Avatar for sspweb

no. but if you use any custom references (like a ftp.fll) then you have to ship that dll with your application. [QUOTE]Button 2...I get an error (my own 'failed' message)[/QUOTE] does not really help. post the code where the error pops up.

Member Avatar for codeorder
0
221
Member Avatar for Alex_2011

It is not quite clear to me what exactly you try but here is maybe the solution: [CODE=vb] Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click Dim target As String = TextBox1.Text Dim index As Integer = Array.IndexOf(LetterArray, target) If index = -1 Then MsgBox("text not found") Else …

Member Avatar for Alex_2011
0
326
Member Avatar for khentz

add a click-event handler for your linklabels inside the handler you just do myConstVariable = ctype(sender, linklabel).Name

Member Avatar for Vichualito
0
157
Member Avatar for ng5

Maybe this small example gives you an idea: [CODE=vb] Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load For i As Integer = 1 To 10 ListBox1.Items.Add("Value " & i) Next End Sub Private Sub ListBox1_SelectedIndexChanged(sender As Object, e As System.EventArgs) Handles ListBox1.SelectedIndexChanged ListBox2.Items.Clear() For i As Integer = …

Member Avatar for codeorder
0
147
Member Avatar for gerchi152
Member Avatar for GeekByChoiCe
0
73
Member Avatar for TheQuestor

Based on your xml you want to store only the information of ONE plugin in this xml file. If so then you can use this code: [CODE=vb] Dim xdoc As XDocument = XDocument.Load("C:\Users\GeekByChoiCe\Desktop\plugin.xml") Dim sb As New StringBuilder 'asuming you have more than 1 plugin in the xml file Dim …

Member Avatar for GeekByChoiCe
0
292
Member Avatar for prathapsv3

[CODE]TextBox8.Text += Convert.ToDouble(ds.Tables(0).Rows(0)("Price"))[/CODE] will do the trick

Member Avatar for lolafuertes
0
179
Member Avatar for prathapsv3

[QUOTE] con.ConnectionString = str TextBox8.Text = 0.0 adp = New SqlDataAdapter("select Count,Item,Price from Bill where Id = '1'", con) adp.Fill(ds) DataGridView1.DataSource = ds.Tables(0) TextBox8.Text = Convert.ToString(ds.Tables(0).Rows(0)("Price")) + Val(TextBox8.Text) [/QUOTE] On line 2 you set the textbox value to "0.0" and at the end you add this value to your database …

Member Avatar for GeekByChoiCe
0
119