|
i found now this code and it works
Sub DeleteRows()
Dim rngeFound As Range, rngeSearchRange As Range
Set rngeSearchRange = ActiveSheet.Range("A1:A700")
Do
Set rngeFound = rngeSearchRange.Find("TIMING")
On Error Resume Next
If rngeFound.Rows.Count = 0 Then Exit Sub
On Error GoTo 0
rngeFound.Resize(6, 1).EntireRow.Delete
Loop
End Sub
|
|
|
|
|
I have a problem in my desktop application. I am using VS.NET 1.1. I am using Word template to display the data. I have already include the reference of Interop.Word.dll, AxInterop.MSMask.dll, Interop.VBIDE.dll, Interop.Microsoft.Office.Core.dll, Interop.MSMask.dll in our application.
When I click on the option it throw the following error:
System.NullReferenceException: Object reference not set to an instance of an object.
at Word.Documents.Open(Object& FileName, Object& ConfirmConversions, Object& ReadOnly, Object& AddToRecentFiles, Object& PasswordDocument, Object& PasswordTemplate, Object& Revert, Object& WritePasswordDocument, Object& WritePasswordTemplate, Object& Format, Object& Encoding, Object& Visible, Object& OpenAndRepair, Object& DocumentDirection, Object& NoEncodingDialog, Object& XMLTransform)
at iMSW.frmMain.openTemplateFile(String fileName) in D:\Project\Astin\iMSW_Prj\Forms\frmMain.vb:line 1257
This error is occur when user is using the MSOFFICE 2000. But if user is using the MSOFFICE 2003 it’s working fine.
Please help me.
OTAsh
|
|
|
|
|
I bet the reference you have set points to Office 2003 and not Office 2000.
Try including a reference to Microsoft Word 9.0
let me know if this helps.
VB Prog
|
|
|
|
|
Hi!
What is the easiest way to reset the values of array. For instance I have an array "Dim Books(1000) as string
Thanks
What a curious mind needs to discover knowledge is noting else than a pin-hole.
|
|
|
|
|
I think this will work:
<br />
Dim Books(1000) As String<br />
<br />
'Add a few values<br />
Books.SetValue("test 1", 0)<br />
Books.SetValue("test 2", 1)<br />
<br />
'Remove values<br />
Array.Clear(Books, 0, Books.Length)<br />
|
|
|
|
|
You want to clear them all ? Defining a new array might be the quickest way. Then they will all be null. I'm not sure if you have any other options besides foreach.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Does Redim Array helps in any way
Develop2Program & Program2Develop
|
|
|
|
|
What it mean by:
An unhandled exception of type 'System.StackOverflowException' occurred in System.Windows.Forms.dll
|
|
|
|
|
An exception was thrown, in this case a System.StackOverflowException and the code did not catch it.
This particular exception is often caused by a recursive algorithms that has gotten out of control.
|
|
|
|
|
Oh I see...
It happen when I did a certain amount of 'Click' on any button.
So, My I know how to solve this problem?
|
|
|
|
|
crazyteh wrote: My I know how to solve this problem?
May I see the code so I know what the problem is?
|
|
|
|
|
I don't know which form/part got problem, so difficult to post all the code here...
Do u know what is the coding for generating report in VB.Net with Smart Device PDA? May be can generate pdf file or html file.
Thanks for your advice.
|
|
|
|
|
hi to all..
i'm very new with this program and totally bad with it..hope anyone can send me the basic code for bank-costumer services...send to me as soon as possible...thanks for the help...
+muchalucha+
|
|
|
|
|
That's not going to happen, for three reasons.
1. This is the VB group, not the C++ group.
2. You are supposed to do your homework yourself.
3. You haven't specified enough information for anyone to help you in any way.
---
single minded; short sighted; long gone;
|
|
|
|
|
muchalucha wrote: i'm very new with this program and totally bad with it..
I don't understand why so many people post here instead of talking to their teacher. If I could decipher your request, and if I spent my time writing your homework, what would you do when the next assignment tries to build on the knowledge you didn't bother to aquire this time around ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
I see you too have noticed the surge in these type of "questions". Now this is truely a WTF!
"Please, I suck as a developer and I need you to save my ass!"
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
hi
i need to make a program to work with other languages and i must create resource.resx which will keep all the messages and strings
please help
thank you
|
|
|
|
|
Hi!
You should enter those strings in resources section of the project. When you define it all, you will be able to use each resource in your resource file. See the example below: Don not forget that you can't modify any resource in runtime. You can only read the resources from a resource file. Lets asume that you have entered a string in your resource file and named it as EnglishMessage
Msgbox(my.resources.EnglishMessage) ' this is a string type resources
I hope that helps!
What a curious mind needs to discover knowledge is noting else than a pin-hole.
|
|
|
|
|
Search MSDN for Globalization or Localization and you'll find a ton of information.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
hello friends,
i m having project in my college and the topic is p2p file transfer wireless i.e. i could be accessed from any where via internet as there in i-mesh. kindly help me with the source code.
i want p2p both client side and server side coding for my project
|
|
|
|
|
Hi
I have planned to do MCP(70-306) Microsoft certification.I dont have any dumps to Prepare.If any one is having latest dump please send me or send me any free downloading link for latest questions.
Thank You.
Thanks&Regards,
Sharmie.
|
|
|
|
|
Have you thought of actually studying for the exam?
|
|
|
|
|
Hey, that's just crazy talk....
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Have you thought of actually paying for them instead of mooching off of someone else??
Also, noone cares if you say "Urgent" in a forum environment. All it means around here is that you have to pee really bad...
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Not definitly am preparing for around 6 months but i dnt have the latest dumps.
I thought it would be helpfull if i cound get some sample questions, thats why i posted the message.
If you can guide me send me some links and dumps if any .
am goin to take the test on 30th on this month.
Surely am goin to tell you the best result
Thanks and Regards,
Dolphin P sharmie
|
|
|
|