|
Hi
As you may know, there are only 4 characters in Farsi that are not included in Arabic and the other characters are identical. And as I previously mentioned, VB has got nothing to the characters.
What you have heard may be because of Arabic fonts used. Yes, there are some Arabic fonts (that do not support the characters related to letters گ چ پ ژ)
so it is just related to the fonts you use, and not a matter of VB.
|
|
|
|
|
Hi,
Thanks for the information. How bout Shamsi dates? I have been looking information about it. I wanted an introduction to it on how it would affect my app... Do you have any article you could recommend? Thanks.
SDE
|
|
|
|
|
Is there an easy way to freeze columns in a VB.Net datagrid. If so how is this done or can some one point me in the right direction of any information. Basically I want to freeze the first 2 columns in a datagrid.
Thanks in advance
|
|
|
|
|
Hello!
For freezing the coloumns you can use the READONLY property of datagrids.
For this you have to create a datagrid style, create DataGridTextBoxColumn and then add DataGridTextBoxColumn to the style...
Each DataGridTextBoxColumn can be Readonly or Non Readonly.
Check out the following code snippet..
dsData is the dataset that contains a table.
Dim dgStyle As New DataGridTableStyle
Dim datacol As DataColumn
Dim dgcol As DataGridTextBoxColumn
For Each datacol In dsData.Tables(TableName).Columns
If Condition Then
dgcol = New DataGridTextBoxColumn
dgcol.MappingName = datacol.ColumnName
dgcol.HeaderText = datacol.Caption
dgcol.ReadOnly = True
end if
dgStyle.GridColumnStyles.Add(dgcol)
Next
dgStyle.MappingName = dsData.Tables(TName).TableName
Me.DataGrid.TableStyles.Add(dgStyle)
The above code will make the columns readonly depending on the condition.
You can give the condition dependin on clumn name e.g
CONDITION==>datacol.ColumnName = "Title Of Column"
I hope this will solve ur problem
_mubashir
|
|
|
|
|
easily, you can use janus system grid.
|
|
|
|
|
I have sucessfully deteected the net connection whether it is connected or not but i am not able to popup the dialer if disconnected. How can i bring ip the dialer.
Also i have detected only for modem how can i detect connection through cable or other medium.
|
|
|
|
|
Hey folks, i got a problem...
i got a third party app randomly connecting to 200 different servers.
All servers got a fixed IP that i know.
Now i want that app to only connect to a defined server, lets say server 120.
Is there an possibility to redirect all the other server ips to the ip of server 120?
I don't know if the app has to resolve the ip first but it seems so already tried to manipulate the "hosts" file but the app doesn't care...
If you got any idea pleas let me know... even if its as silly as hell
thanks
|
|
|
|
|
Randomly connects to servers??? What kind of an app is this? It sounds liek you're trying to trick the software into connecting to a specific server because it's a trial version.
Depending on how the app is getting the server names and resolving them, you may not have any options to solve this. What is this utility and what kind of servers is it used for?
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
No it aint a trial application
i aint a cracker
Its a game that connects to that random servers but one ingame event only happens on a specific server and i want the game to connect to exactly that server...
regards
|
|
|
|
|
The only way to do what you want is to write your own proxy server. Your game would have to connect to the proxy server where all packets outgoing to the list of servers that you have would have to be re-written to be redirected to the new address. This is, by far, not an easy task.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Dear All,
Can anybody teach me how to call database from the crystal report by use the VB.NET code.
Example : I have two database file like "c:\mycode\mydata1.mdb" and "c:\mycode\mydata2.mdb". This two database have same database structure and table, just each database have difference data inside. I just want to create a single report file and may call mydata1.mdb or mydata2.mdb.
Can anybody teach me how to call it on the coding.
|
|
|
|
|
I have some problems with Sendkeys.Send() function
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Shell("C:\Windows\System32\cmd.exe", AppWinStyle.MaximizedFocus)
SendKeys.Send("cd\")
SendKeys.Send("{Enter}")
End Sub
Sometimes , it work but sometimes not. I don't understand why ? can you help me ?
Thanks!!
Hung
|
|
|
|
|
You have to wait for the process to completely start before you send keystrokes to it. Instead of using Shell, you might want to use Process.Start instead. This will give you more options, like being able to check if the process has actually started yet.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hi, can anyone tell me how can I set/revoke the permission to a folder for user in windows using VB.net.Thank you.
|
|
|
|
|
There's no support for this in the .NET BCL until the .NET Framework 2.0 comes out. You might want to checkout this[^] sample on GotDotNet.com.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
|
Hi, i need to save to a text file with a variable name. This is what i have at them moment. It saves to mood.txt in the same directory as the project.
FileNum4 = FreeFile<br />
' Create mood.txt<br />
Open appPath & "mood.txt" For Append As #FileNum4<br />
' Write the contents of TextBox1 to mood.txt<br />
Print #FileNum4, mood; " , "; lblTime; " , "; songTitle<br />
' Close the file<br />
Close FileNum4
What i want tho, is for the filename to be "songTitle" mood.txt where songTitle is a varible As String. Ive tried this:
Open appPath & songTitle & " mood.txt" For Append As #FileNum4
But i get a bad file name error when i try to save to the file. Im sure there must be a way to do this, i just cant figure it out. How is it done?
Thanks
Gizza
-- modified at 2:14 Monday 29th August, 2005
|
|
|
|
|
If you're going to have spaces in your filename, the entire file path must be enclosed in quotes: "C:\Documents and Settings\...."
Dim filePath As String
filePath = """" & appPath & songTitle & " mood.txt""" For Append As #FileNum4
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
I get a syntax error try to put " around the filename.
I aslo need help on another matter. My text files look like this.
upbeat, 2507
upbeat, 5503
slow, 8521
upbeat, 11517
upbeat, 14512
upbeat, 17507
calm, 20526
I need to read this in. But i want to put whats before the comma in one array, and whats after the comma in another array.
Thanks for the help
|
|
|
|
|
Hi there,
May I ask a question?
I wanna write a program about Call Logs.
However, when researching the information about Call Logs in MSDN, I cannot find anything about that.
Would you please supply me any simple sample about Call Logs?
Thank you very much.
|
|
|
|
|
Perhaps MSDN, like me, has no idea what you mean by call logs ?
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Thank your repost.
I want to get call logs on my smartphone.
In smartphone SDK,it's include in "phone.h".
like~~~" PhoneCloseCallLog "...
I need any simple sample or idea about Call Logs with vb.net or embedded vc++ 4.0 .
Would you please supply me any simple sample or idea about this?
Thank you~
|
|
|
|
|
How can i make a data grid in VB.Net
|
|
|
|
|
Do you want to elaborate on that? All you really need to do is drop a DataGrid control on your form. Afte that, it's up to you to supply the data, however you want, from wherever you want. So what's the real question here?
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
hellow to all ..
i have an database tabel that i wana to bind it to a datagrid that i had created ...
how can i do this ?
thx
|
|
|
|