Search:
Type: Posts; User: pourkascheff
Search:
Search took 0.12 seconds.
-
dday9 - Originally posted a question here: https://www.vbforums.com/showthread.php?835561, moved post to the non-codebank forum.
Hi. Thanks for snippet but this way only works with existing files...
-
I see, despite my basic math is awful. What should we do you say? I need to implement similar goal in an already complex piece of code which performs some communication things, database magics,...
-
Well, Hi, Sorry for replying here. Is it available for latest versions of VB.NET? If so, How to achieve a similar approach? I was asking here and looking around the web, No results were found...
-
The latter has its own difficulties like feeding a My.Resources.AnyWaveFile to a NAudio.Wave.AudioFileReader(...) which should be a stream. Or instead of WaveMixerStream(), WaveMixerStream32() should...
-
First thing: "Simultaneously" would be a proper word for this matter. Or not even a threading (as we're familiar with it) related thread.
Secondly, since contribution rate on this thread was...
-
As a tangible visual example,
Following image shows first way which in-app other sounds will replaced/play with the sound that is playing.
189673
But following image shows what I'm looking...
-
Hi all o7.
Consider a timer to perform
My.Computer.Audio.Play(My.Resources.Test, AudioPlayMode.Background)
A 500ms timer and 1000ms audio file will lead to cutting audio file and startover....
-
EXACTLY!
It isn't just a .Save() or .Update() or .AcceptChanges() to achieve that. It's more than that and depends on the way we choosed.
My intention by "keywords" is someone explain to me the...
-
Long time no see sir, glad to see your reply first.
It looks a bit confusing and vague at first sight. You also said this solution here for saving settings of specific control values within a series...
-
Hi all o7.
I'm new to binding thing and have already watched few videos but they were all SQL based. I am using ADO.NET for its simplicity and being default on Visual Studio, Not an internet...
-
wow, thanks for quick response.
- What's the differences between ToList() and ToArray()? If I'd be in trouble in near future, I rather to know it now. I personally prefer tolist since ".count" is...
-
Hi all, o7
Currently I'm using green line in every single event:
Private Sub BtnAll_Click_1(sender As Object, e As EventArgs) Handles BtnAll.Click
Dim SelectedUC As UC() =...
-
Warm appreciation for those tips. Where can I find newer .NET things? Yes, I'm a 90's kid, I used to VB6 as slang it might change my programming skills dramatically. Thanks in advance.
-
Well, thanks for good points. I even tried formating .ToString("MM/dd/yyyy") but it turned out the problem was the order or msgbox being prior to making yesterday equal to today. Instruction line...
-
Hi all o7. How is the correct way to update a date variable?
Following code does a cycle every seconds (lots of things happen here which are commented for now) in 24th hour of the day, yesterday ≠...
-
-
Temporary worked out with a "Timer" as follows:
Private Sub FADEIN_Tick(sender As Object, e As EventArgs) Handles FADEIN.Tick
If Me.Opacity < 0.9 Then
Me.Opacity += 0.01...
-
Hi all o7
Consider following code to achieve a sort of fade-in effect:
Private Sub Form1_Shown(sender As Object, e As EventArgs) Handles MyBase.Shown
Me.Invoke(Sub()
...
-
Absolutely. I don't even use
My.Settings.Save()
or reload, or whatever in code.
It is assumed that linking them manually through application property, assigned to controls values will do the...
-
I came up with this idea
Private Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click
While Me.Opacity > 0.5
Me.Opacity -= 0.00001
End While...
-
Hi photonbytes (like your username)
MIDI monitoring/listening approaches can be achieved via SerialPort control. I'm not a USB fan since they are a bit complicated in endpoints and commissioning...
-
Can someone at least redirect me to somewhere which Dos and don'ts related to Settings and Bindings are covered? I did them experimentally and didn't pay any attentions to its instruction manual.
-
Hi all o7
The idea is when you are about to terminate using the app, some sort of dark overlay covers all the background and a dialog or maybe a control (latter one would be tricky) appears. Fade...
-
Settings were intended to be an easy to use feature. I was OK with it, until recent project:
If you find this thread duplicated or similar to a resolved one, Please let me know.
As always
1) Few...
-
May dusts be removed from this thread. My approach achieved an answer here if you still have any troubles implementing this idea. If you don't, we glad to take a look to your idea. Don't forget to...
-
"Eureka". That was easy and in a loop behavior as I mentioned in starting topic, but since I used to show things more complicated than they need to be, I wrote down the idea in DevExpress 3rd party...
-
Hello again after a long absence, some lads here in another thread, asked for a same thing in 2011 but no results were also achieved.
Does chart control have a sort of conventional "datasource"...
-
It worked just fine, I only changed the code to
Imports System.Management
Public Class Form2
Private mosObj As New ManagementObjectSearcher("select * from Win32_Processor")
Private...
-
The idea which is easily found all over the internet is as follows:
Private Function CpuId() As String
Dim computer As String = "."
Dim wmi As Object = GetObject("winmgmts:" &...
-
Sorry, not intended to do such thing.
Nah mate, getcontrolfromposition is useful when you are about to change something in a specific coordinate. But thanks for directcast anyways.
-
Thanks a lot, I also learned .Find here.
Consider you're arranging a huge matrix in TLP and you want to do things with its members (controls) they could be UserControl and .Visible was just an...
-
Consider you've created a control inside a form as follows:
Me.Controls.Add(New Label With {.Name = "Label1"})
How can I access it right after creation line accordingly?
Label1.Visible = True...
-
Indeed. Since the master node (PC) is using MOXA PCI 8 COM ports and also different baud rates with various handshake/parity configuration. So I rather remain faithful to previous hardware...
-
Well, As an update, I only find out that this is called SCADA (Supervisory control and data acquisition) which lots of industrial first class companies (Like Siemens and Omron) introduced their own...
-
Oh, good old "function"ing way and older "toggling twice" friends. Thanks to you two. These are my final solutions in case no more standard ways were available out there.
-
Of course.
1) Consider following form:
188354
2) Already made a boolean setting:
188353
2) Made sure that setting is linked to "checked" property of a checkbox:
188352
-
Consider there's a boolean setting called "unit" which true = imperial and false = metric, already set on a checkbox ApplicationSettings: checked property.
The app follows its value once app runs....
-
May I also draw your attention to this part, partially?
-
I immediately regretted my decision. By constructor you mean
Public Class MYUSERCONTROL
Public Sub New()
Me.InitializeComponent()
End Sub
Private Sub...
-
Thanks .paul. so the order would be constructor, load, shown right? What about user controls? They do not have such event. Plus, my problem seems a synchronous %CPU high load thing how can I overcome...
|
Click Here to Expand Forum to Full Width
|