-
Replied To a Post in Is there a function in c# that returns x times of given char or string. Or
Below you will find a very brute force way or measuring this: int CountChars(char cChar, string sString, bool bCaseSensitive) { if (!bCaseSensitive) { cChar = Char.ToLower(cChar); sString = sString.ToLower(); } … -
Replied To a Post in Is there a function in c# that returns x times of given char or string. Or
Below you will find a very brute force way or measuring this: Private Function CountChar(ByVal c As Char, ByVal sSource As String, ByVal bCaseSensitive As Boolean) As Integer Try If … -
Began Watching Is there a function in c# that returns x times of given char or string. Or
Is there a function in c# that returns x times of given char or string. Or I must code it? Thank you Saanvi sharma -
Began Watching Declare wb as new WebBrowser not working
Im trying to create a dll file where to import in a sub a webbrowser who will open www.youtube.com when form load. I can make this in the software code. … -
Replied To a Post in Declare wb as new WebBrowser not working
Please post the code that is throwing the given error. -
Replied To a Post in Excel to DGV: Ignore blank cell/row & ignore not start in 98
You are receiving the error due to InputString expecting an integer as a parameter. I may be confusing you here with this function, but if you paste the whole function … -
Replied To a Post in Excel to DGV: Ignore blank cell/row & ignore not start in 98
Is the error occuring in the code or is an exception being thrown to you via message box? If a message box appears, can you please post an image of … -
Replied To a Post in Management software
You can do this in a query if the values that you are looking for are consistant. For Example: 'This will get the total number of rows. "SELECT Count(*) FROM … -
Replied To a Post in Excel to DGV: Ignore blank cell/row & ignore not start in 98
This function should return the values that you are wishing to see: Private Function FormatString(ByVal Input As String) As String Try Dim sTemp As String = Input For Each c … -
Replied To a Post in Management software
Do you have a field to indicate year in your data? Maybe a two digit year, or a range of numbers for student ID that is only valid for that … -
Replied To a Post in Excel to DGV: Ignore blank cell/row & ignore not start in 98
Case #1: I am not sure that I understand this question completely. By using the code above and the sample data given the 4th column should contain 07 when using … -
Began Watching how to get a slideup effect?
I am trying to get similar effect as this link: http://api.jquery.com/slideup/ ## What I am using: ## vb net, JQuery,css ## what I am trying to do: ## I have … -
Replied To a Post in how to get a slideup effect?
Try wrapping your div in an [UpdatePanel](https://msdn.microsoft.com/en-us/library/system.web.ui.updatepanel%28v=vs.110%29.aspx). This will allow you to update only that part of the page without calling a full postback. -
Began Watching Change File path
I have a file set in this folder "C:...../users" (is not real) I want to change the file path with code to set at "D:...../users" how can I do that? -
Replied To a Post in Change File path
This will be a simple File.Move: IO.File.Move("SourceFilePath", "DestinationFilePath") -
Began Watching Excel to DGV: Ignore blank cell/row & ignore not start in 98
Hello VB.net Programmer; Good day Daniweb'ers; I have a problem to my Excel Data going to DGV; Only Selected items in excel will be put in the DGV; I don't … -
Replied To a Post in Excel to DGV: Ignore blank cell/row & ignore not start in 98
Have you tried making use of [IsNumeric](https://msdn.microsoft.com/en-us/library/6cd3f6w1%28v=vs.90%29.aspx)? For example: For Each row As DataRow In dts.Tables("[Sheet1$]").Rows If IsNumeric(row(0)) Then If row(0).ToString.StartsWith("98") Then Dim cell1, cell3 As String Dim col1, col2, … -
Began Watching Management software
hi friend i have created management software. but i want add year option like accadamic year 2014-2015 and 2015-2016. my question is how to creat new accadamic year with my … -
Replied To a Post in Management software
Without seeing your data we can not answer the question effectively. One method would be to write queriest to select the data you wish to receive based on a date … -
Began Watching how to print selected columns
hi,friends i have 14 columns in my access data but i want print only selected colums help me frinds -
Replied To a Post in how to print selected columns
Your question is quite a bit incomplete. Please provide us with the following information so that we can help you find a solution! =) What control are you displaying your … -
Began Watching Copy and or Move files
Hi Dw. I'm doing a research on how or whether VB.NET has some sort of support to listen to Windows OS events and be able to take over to be … -
Replied To a Post in Copy and or Move files
This is a shell function called [SHFileOperation](https://msdn.microsoft.com/en-us/library/windows/desktop/bb762164%28v=vs.85%29.aspx). [Here](http://www.pinvoke.net/default.aspx/shell32.SHFileOperation) is an article that you might want to read over. -
Began Watching Select Case inside an If/Then statement
Group, I've got a complex If/Then statement that may require the use of "Select Case". However I'm not familiar with how "Select Case" actually works. Needless to say, I'm not … -
Replied To a Post in Select Case inside an If/Then statement
A SELECT CASE would look something like: Select Case Mid(txtLine, 18, 1) Case "G", "T", "C", "W" 'Do this stuff only for those Case Else 'Do some stuff End Select … -
Began Watching Navigating to new URL in same window
Hi all, I have a webbrowser control on my VB.net form. When a URL naviagtes to another window, I want to do it in same window. i.e. WebBrowser contol should … -
Replied To a Post in Navigating to new URL in same window
In the NewWindow event of the browser control, you can use the following code: e.Cancel = True WebBrowser1.Navigate(New URI(DirectCast(sender, WebBrowser).StatusText)) This will force the active web browser to navigate to … -
Gave Reputation to Reverend Jim in OLEDB Insert Statement Syntax Error
If you use [Parameterized Queries](https://www.daniweb.com/software-development/vbnet/code/445801/use-parameterized-queries-to-avoid-sql-injection-attacks) then you don't have to worry about what delimiters to use. -
Began Watching OLEDB Insert Statement Syntax Error
I got some issues with Syntax error for my insert statement. I can read access database without any issues. I tried to put in all data as simple string but … -
Replied To a Post in OLEDB Insert Statement Syntax Error
Just an additional note: if using OleDB then your queries will need to have '?' instead of a paramter name. For example: cmd.CommandText="INSERT INTO tblMyTable (someString,someDate,someNumber) VALUES (?,?,?)" cmd.Parameters.AddWithValue("@someString",MyStringValue) cmd.Parameters.AddWithValue("@someDate",MyDateValue) … -
Began Watching QA Session
Just an accumulation of worldly wisdom in question answer format. Q: "How Do You Get Holy Water?" A: "You Boil The Hell Out Of It." -
Replied To a Post in QA Session
Q: What do you call a dog which has no legs? A: Anything you want; he's still not coming to you. -
Began Watching Hi everybody at DANIWEB,
My name is Alfonso C, I am student at collegue (programming). I like the community here in Daniweb, because I can help and get help with feedbacks or different questions. … -
Replied To a Post in Hi everybody at DANIWEB,
Hello and Welcome! -
Began Watching Tell me the system is good or not...?
As i have old computer which runs windows xp very slowly and the system is: Intel Core 2 Duo CPU E4500 @ 2.20GHz,1GB RAM,Intel 946GZ Express Chipset Family So tell … -
Replied To a Post in Tell me the system is good or not...?
Other than upgrading the memory a little, I see no problem using xUbuntu. You may want to go up to 4gb if possible. -
Began Watching HELP!!! I'VE BEEN ATTAKED B BIOS BASED ROOTKIT
Can anybody please guide me or enlighten me on how to go about this problem, Im running on windows 7, intel i3 processor and 6 gig of ram. I am … -
Replied To a Post in HELP!!! I'VE BEEN ATTAKED B BIOS BASED ROOTKIT
Most mother boards have a crash free bios that has a backup of the OEM bios settings. I am assuming you have attempted to boot the pc in safe mode … -
Began Watching ERROR WHILE RUNNING VB.NET PROGRAM
why i am receiving this error and how i can solve it See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. … -
Replied To a Post in ERROR WHILE RUNNING VB.NET PROGRAM
Please post the code that you have in your fol_hide_load procedure. -
Began Watching Smartphone
Hey. Anyone can suggest me a smartphone that dont pass $200 (around) and is a good phone too? And something else, anyone have information about "huawei ascend mate 7" ? … -
Replied To a Post in Smartphone
A few questions would be: What carrier? Do you want external storage? Do you prefer a certain OS? -
Began Watching Match Mother board, Processor and Ram with Quadro 4200K Graphic card
Hello,I would like to setup a workstation right now for 3d modeling, animation, rendering, and motion graphics. I have allready Quadro 4200K Graphic card. which Mother board, Processor and Ram … -
Replied To a Post in Match Mother board, Processor and Ram with Quadro 4200K Graphic card
There are a lot of opinions when it comes to work stations. As far as your graphics card goes; any pci-x 2.0 (x16 for full usage) motherboard will work with … -
Replied To a Post in visual basic windows speech recognition
I guess I need to work on my reading comprehension. I completely misunderstood the question and focused on emending the form. My Apologies -
Began Watching How do i restore to factory settings on a Studio 1737?
I am trying to do this on my studio 1737 but when I press f8 and get to the advance options and press enter, the computer continues to start normally. … -
Replied To a Post in How do i restore to factory settings on a Studio 1737?
You could try pressing Control + F11 on boot to open the DELL recovery utility. -
Began Watching hp pavilion dv6-3190ee power flashing 3 times and then boot normally
Hi, I Have Hp Pavilion Dv6-3190ee my problem is in the next day when i try to turn it on my laptop a get power button and wireless led flashing … -
Replied To a Post in hp pavilion dv6-3190ee power flashing 3 times and then boot normally
After reading over a few documents with HP; I have not discovered any solutions that stand out. You might want to give [this](http://h10025.www1.hp.com/ewfrf/wc/document?docname=c01443317&tmp_task=solveCategory&cc=us&dlc=en&lc=en&product=4301444) a try to see if it finds … -
Began Watching quchention
can i run 64 bit motherbord or process into 32bit os ... # Heading Here #
The End.