|
Hi Ed,
thanks for your helping again.
I'm so sorry, but i don't be able to attach the file of the screenshot (.rtf or .bmp) in this reply.
So i will describe the structure of a hit in the hitlist:
first line = multi columns with fields like rank, title, author, date, path, filesize, type ...
second and third line = multiline text with the extract of the summary (over all columns)
forth line = filename (in the title column)
If you send me an eMail i will send you back the actual screenshot as attachment. Or is it possible to do this with an reply or mail in this forum?
Have a nice day
Gru
|
|
|
|
|
I'm sure this has been asked before, but I've heard that NO VB6 app will work on Vista, and M$ is more or less forceing businesses to migreate from VB6 to .NET
has anyone else heard this?
-== The PogoWolf ==-
http://www.pogowolf.com
GamersVue: ttp://GamersVue.blogger.com
|
|
|
|
|
That's not what I've heard.
http://www.devsource.com/article2/0,1895,1929552,00.asp[^]
However, I should also state that VB6 is on its last leg and is not getting much support from Microsoft. It'll be in your best interest to migrate your VB6 code to .NET or whatever your language of choice is.
|
|
|
|
|
hello, i want to know to make move a button from location (0,72) to (10, 30) from the code? how can i make it programatically!? thanks for your help!!
Adrian De Battista
|
|
|
|
|
You need to change the Button.Top and Button.Left properties.
|
|
|
|
|
thanks a million but i found a nice one as well. with the points!
i show you for your information.
this is to resize the form and location
Me.Size = New System.Drawing.Size(100, 250)
Button1.Location = New System.Drawing.Point(0, 72)
Thats all
10x alot though :->
Adrian De Battista: .Net Programmer, Java Programmer and Web Designer.
|
|
|
|
|
Yes, I know about the Button.Location property.
But thanks for sharing it. I'm sure it'll help someone else.
|
|
|
|
|
I have a form that runs down one side of the screen , but I want all other application to only maximize up to my form and not under it. I hope this is clear enough.
Another way to put it would be like the taskbar when it runs down the side of the screen.
any help would be appreciated
Thanks, Terence
-- modified at 12:01 Thursday 23rd March, 2006
|
|
|
|
|
What you want to do is "dock" your window to the side of the desktop.
I don't think .NET can do this. You'll need to P/Invoke the SHAppBarMessage() win32 function.
The following CodeProject article should contain all of the details you need.
http://www.codeproject.com/csharp/csdoesshell3.asp[^]
|
|
|
|
|
hello, i want to resize the form programmaticaly within the code. i want to add the height because a button will be visible. how can i make this happen?? the button will be hidden at first and the size will be 100 for instance and then when the user wants the button to be visible i want to make the form more much bigger ex: 150 height from 100! how can i make this pls!! someone help me
Adrian De Battista
|
|
|
|
|
easy when you know how!
me.size = new system.drawing.size(height,width)
should work ok!
|
|
|
|
|
10x alot!!
Adrian De Battista
|
|
|
|
|
You'll probably want to set Button.Visible = False while the form is small. That way the user can't tab to the button or press ALT-[Key] to activate it.
|
|
|
|
|
I m using class csMovielibraryPro to play the video file.I want to extract all frames from the video.i m beginner to VB.NET.
Is ther any class or function to extract all frames.
Please help me
|
|
|
|
|
I'm tryingto read in a small xml file into a xmldocument which I will then get the needed information from. Below is my code. I can't get past doc.loadxml... I think I'm not using the right reader. I was hoping to read the entire file in so it looks like a long string to loadxml. Can anyone provide any help?
Dim doc As Xml.XmlDocument = New Xml.XmlDocument
Dim reader As New Xml.XmlTextReader("c:\test.xml")
Try
doc.LoadXml(reader.Read)
Catch ex As Exception
MessageBox.Show(ex.Message)
End Try
reader.Close()
Dim account_number As Xml.XmlNodeList = doc.GetElementsByTagName("account_number")
Dim reply_code As Xml.XmlNodeList = doc.GetElementsByTagName("reply_code")
Dim sequence_number As Xml.XmlNodeList = doc.GetElementsByTagName("sequence_number")
MessageBox.Show(account_number(0).InnerText)
MessageBox.Show(reply_code(0).InnerText)
MessageBox.Show(sequence_number(0).InnerText)
Dim writer As New Xml.XmlTextWriter("c:\test.xml", Nothing)
writer.Formatting = Xml.Formatting.Indented
doc.Save(writer)
writer.Close()
|
|
|
|
|
Don't use a reader just load the file directly into the XmlDocument object
dim doc as new XmlDocument
doc.LoadXml("c:\test.xml")
|
|
|
|
|
I don't know why I didn't do that first but even with it like that I get "The data at the root level is invalid. Line 1, position 1."
here's my xml file:
<request>
<sequence_number>000002</sequence_number>
<account_number>103363463355</account_number>
<reply_code>201</reply_code>
</request>
|
|
|
|
|
Thanks to everyone for their help.
I found the answer finally at http://www.bdragon.com/lair/2005/08/27_xmlexception_the_data_at_th/
it's doc.load("c:\test.xml") and not doc.LoadXml("c:\test.xml")
Thanks to everyone for their help.
|
|
|
|
|
I have .Net 1.0.3705
When Setting TrustLevel for Remoting Application for Server as well as for the client, by following command,
Dim SProvider As IServerChannelSinkProvider
Dim CProvider As IClientChannelSinkProvider
SProvider = New BinaryServerFormatterSinkProvider()
CProvider = New BinaryClientFormatterSinkProvider()
CType(SProvider, BinaryServerFormatterSinkProvider).TypeFilterLevel = TypeFilterLevel.Full
chan = New TcpChannel(props, CProvider, SProvider)
I get an an error in the second last line. And when i comment it run run the serverand the client i get an error
like this:
""This remoting proxy has no channel sink
which means either the server has no registered server channels that are listening, or this application has no suitable client channel to talk to the server.""
I have also read that all the remote application has Trustlevel =low ByDefault.
Help me out!!!
|
|
|
|
|
1 - Develop a function to translate a color name to color code:
White #FFFFFF
RED #FF0000
GREEN #00FF00
Blue #0000FF
2- When web browser send data to web server using the URL, It encode all character by place the percentage symbol(%) and two hexadecimal digits, It also converts the space character to (+) symbol
for example the text "Abc-2&3" will be encode as "Abc%2d2%236"
Develop a function to decode a string send by the web browser.
Can U help me to solve these exercices
Thanks alottttttttttttttttttttttttttttt!
I tried so hard and got so far
|
|
|
|
|
What specifically is is that you have problems with?
What are you studying currently? What techniques are you supposed to use in these execises? Most of the first task and the entire second task can be solved by using built-in methods in the framework, but I suppose that this is not the intention of the exercises?
---
b { font-weight: normal; }
|
|
|
|
|
hi
i am working on vb, I have a problem in image manipulation
Is there any way to know height and width of the image at runtime
if anybody knows this please help me.
Thanks
|
|
|
|
|
Hello
Dim pic_image As New Bitmap("c:\sample.jpg")<br />
MsgBox(pic_image.Size.Height & "---" & pic_image.Size.Width)
Hope it helps
|
|
|
|
|
Thanks i Think it will worked
but could you tell me which reference library i have to use for bitmap
Thanks
-- modified at 8:16 Thursday 23rd March, 2006
|
|
|
|
|
Hello
You have to reference the System.Drawing library
Then in top of your class insert:
Imports System.Drawing
That's it
|
|
|
|