Topics
-
- 0 replies
- 784 views
Hai All I am developing a windows application, For which my client given an web service URL,a WSDL file and username,password, and they were expecting we need to pass some data with username and password. here i am not undersatnding how to procede i have done invoking the url and sending the HTTP Request but here that way is not working so please guide me how to proceede if possible sample code. Thank you in advance. I think my client provided a JAVA Based web service
Last reply by laxman, -
-
- Administrators
- Leaders
- 11 replies
- 4.8k views
Hi, I'm trying to create some skinned forms (just the border and caption) with a different approach than you usually see but I'm having some issues with form flickering while I re size the form. I don't know how else to explain the problem, so here's a video I created of the problem: http://screencast.com/t/iDv7mPEi0XY Also, here's a VS2008 test solution with the whole code that repaints the form borders: http://stuff.nazgulled.net/misc/TestForm.zip Hope someone can help me getting rid of the flicker...
Last reply by Nazgulled, -
-
- 0 replies
- 1.1k views
Is there a way to change the color of the column in a list view instead of the whole row changing color? I have a 3 column listview and I would like the 3rd column to be a dark green but when I use the following code it is changing the whole row instead of just the one subitem. Dim i As Integer For i = 0 To ListView1.Items.Count - 1 If CInt(ListView1.Items(i).SubItems(1).Text) = 0 Then ListView1.Items(i).SubItems(0).ForeColor = Color.Green End If Next I tried changing the SubItems(0) to SubItems(2) but then the code doesnt work at all.
Last reply by Lanc1988, -
-
- Leaders
- 1 reply
- 748 views
i do early binding for everything so far. I now have a need to do latebinding (i think). I'm have a log file that i use to record changes made in a vb app. It uses reflection (think that the right term) where i pass in an object and it takes the object and creates a single string out of the properties in that table, there is a column where i store the object name. Now i'd like to take that object name and query against it using my class structure. So, say i have a class named ClassIndex with property names like tblClassIndexID, ClassName, ClassTitle if i query my table and bring back a certain row, i look and see that the class name was ClassIndex. in ear…
Last reply by snarfblam, -
-
-
- Administrators
- 6 replies
- 834 views
If I use "TypeOf" on an object comparing it to a type that it can never be, I get the error "Expression of type [ ]can never be of type [ ]." That's useful. But if I use "Is" to compare one object against another which is of a type that the first can never be, I don't even get a warning. That's led to a few mistakes, and it would be really helpful if I did get some sort of warning. Is there any alternative to creating a function like "StrongIs" below if I want to get some notice of this sort of mistake? Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim x As Button = Me.Button1 …
Last reply by PlausiblyDamp, -
-
-
- Leaders
- 11 replies
- 1.4k views
I am trying to figure out how to get the values from this page into different text boxes: http://hiscore.runescape.com/index_lite.ws?player=Lanc1988 Each of the values on that page are separated by commas so after some searching I read that I should use the String.Split(',') somehow but I can't figure it out. Could someone provide with me the easiest way of how to put the first value into a textbox (txtBox1) and the next value into txtBox2 and the third into txtBox3. Im sure I should be able to get the rest once I have an idea of how to start. Thanks.
Last reply by Lanc1988, -
-
-
- *Gurus*
- 14 replies
- 3.7k views
Heheh. This is so leet. First check out the screenshot. "stop!" instead of "start." I'm doing this just for fun anyways (you might wonder what's the point :)). Get a hex editor, I used hex workshop (these instructions are for hex workshop anyways). Run it, open explorer.exe (windows folder). First of all, hit Save As... Explorer2.exe (just for the sake of having a backup). Now, this part's a little tricky. If you're new to hex editing, then don't worry. See the numbers to the left side? Those represent your offsets. The text for "start" should lie in between the following offsets: <LI>Windows 98 Offset: 0x00028D6E - 0x00028D76 <LI>Windows NT4 Offs…
Last reply by mtaulbee, -
-
- 1 reply
- 783 views
Hello, I use the axwebbrower frames in my application to display various things when a user clicks a button such a .htm pages or images, etc. anyway, ever since internet explorer 7 was released, i have been having to include this ieframe.dll file in my installation which is a pretty big file.. it nearly doubled my installation program. but if i dont include this file, my users experience errors. is there some other way i can fix this other than to include the .dll file?
Last reply by PrOpHeT, -
-
- Administrators
- 9 replies
- 1.7k views
i am developing the Windows application using VB.Net here i need to transfer some information to the my customer server and he will be replying to the information acknowledgement. for this my customer given a url and asked me to invoke the url and add the information as a string. here i dont know how to invoke this url and add string so please guide me what i should do and my customer said he will be acknowledged me with the out put i also dont know how to capture the acknowledgement i can give the url ends with ip/web/servlet so please tell me how can i do this
Last reply by laxman, -
-
- 0 replies
- 1.9k views
I wish to create a simple tool to open a video file ( for example an AVI, or wmv file) and allow user to edit the video file. For example the user should be able to mark different portions of video and copy it to new video. So that the new movie file contains the selected parts only. I read that DirectShow editing service allow us to do the job. have modified the sample code http://msdn.microsoft.com/en-us/library/ms787592(VS.85).aspx and no luck so far. I think i am missing something, since my knowledge in DirectX and grphics is very poor, I cant figure it out. I added the following lines to get the splitable interface IAMTimelineSplittable *pSplittable = NU…
Last reply by anilfirst, -
- 3 replies
- 5.4k views
I have constructed the following class from examples on MSDN and elsewhere, for some reason when decrypting I seem to end up with extra bytes and cannot for the life of me figure out where they are coming from.:confused: I know I am using a block cipher, and my resulting encrypted data can end up with a different byte count, however after decrypting it should be a byte for byte match of the original. I have to be overlooking something, but it is all blending together and I need another set of eyes to have a look. #Region " Imports " Imports System.IO Imports System.Text Imports System.Security.Cryptography #End Region Public Class Encryption Private Key() …
Last reply by PrOpHeT, -
- 1 reply
- 807 views
Hello, How can I check if ANY form except main form / start up form is being shown / loaded right now or not? Without setting a boolean flag... Directly with .NET Framework... Possible? Thanks.
Last reply by roger_wgnr, -
close forms
by SIMIN-
- Administrators
- 2 replies
- 745 views
Hi everyone, Does anyone know how can I close all forms on my application EXCEPT main / startup form? Something like this in VB6 ? Dim frm As Form For Each frm In Forms Unload frm Set frm = Nothing Next
Last reply by roger_wgnr, -
-
- 0 replies
- 723 views
The Problem: How to detect a case where components field of UserControl or Form is null? A null value indicates that no components are hosted in the Form/UserControl. The Solution: We need to check whether the specified Control/Form hosts at least one Component, excluding components defined in base class. The challenge is to do it while the object doesn't exist yet, actually it happens when the class file (*.Desinger.cs) is built by the desinger. The information was fetched using reflection from the Designer manager class IDesignerSerializationManager, it manages stack of desinger code statements. In this stack we can find statements declaring the class member…
Last reply by ylevi33, -
- 0 replies
- 1.1k views
I'm playing with a sample X-file from: http://local.wasp.uwa.edu.au/~pbourke/dataformats/directx/ When I run this file, I see the original mesh rendering while the animation plays. Anyone know how to fix this? Regards, Jason The file is: //////BEGIN FILE AFTER THIS LINE xof 0302txt 0064 Material RedMaterial { 1.000000;0.000000;0.000000;1.000000;; // R = 1.0, G = 0.0, B = 0.0 0.000000; 0.000000;0.000000;0.000000;; 0.000000;0.000000;0.000000;; } Material GreenMaterial { 0.000000;1.000000;0.000000;1.000000;; // R = 0.0, G = 1.0, B = 0.0 0.000000; 0.000000;0.000000;0.000000;; 0.000000;0.000000;0.000000;; } ///////////////////…
Last reply by Jas001, -
- 1 reply
- 822 views
I have this situation. I wrote some code and it works just fine when I run it locally on my Visual Studio server, but when I send it to my web site, it doesn't work. The code looks like this: Protected Sub ListBox1_SelectedIndexChanged(ByVal sender As Object, ByVal e As EventArgs) Handles ListBox1.SelectedIndexChanged ListBox2.Items.Clear() If ListBox1.SelectedItem.Text = "ab" Then ListBox2.Items.Add("aaaabbb") ListBox2.Items.Add("aaacccc") ListBox2.Items.Add("aaadddd") End If End Sub It's pretty simple. it populates a second listbox with some values when I click on an item in listbox1. AutoPostBack is set…
Last reply by ttkalec1, -
-
- Administrators
- *Experts*
- Leaders
- 13 replies
- 2k views
Just wondering if I've been missing something all this time. My main use of Generics is like this List<MyUDT> myItems = new List<MyUDT>(50); foreach(MyUDT i in myItems) { Console.WriteLine(i.ToString()); } What are some other applications of Generics that you use, or is this the majority of the use?
Last reply by Nate Bross, -
-
-
- Administrators
- 5 replies
- 1.1k views
Hello all, I am trying to compile a simple VB.NET Windows Form project which was converted from VS 2003 to VS 2005 using the .NET 1.1 framework from VS 2005 by utilizing MSBee. Based on the instructions, I have added bellow this line (in .vbproj file): <Import Project="$(MSBuildBinPath)\Microsoft.VisualBasic.targets" /> the following: <Import Project="$(MSBuildExtensionsPath)\MSBee\MSBuildExtras.FX1_1.VisualBasic.targets" Condition="'$(BuildingInsideVisualStudio)' == '' AND '$(TargetFX1_1'=='true'" /> When I run the following command from VS 2005 command line: msbuild C:\Temp\WindowsApplication1\WindowsApplication1\WindowsApplication1.vbp…
Last reply by digioz, -
-
-
- Administrators
- 7 replies
- 7k views
Hey, So I've recently begun working with directx in vb.net but Ive run in to a small problem. I can only render sprites that have power of 2 dimensions. I am aware that the texture of the sprite has to be based off an image with power of 2 dimensions, but Im fairly sure that there must be a way to render the spirte itself in something other than power of 2 dimensions using sprite.draw2d. It would be great if any of you could help me. Thanks!:)
Last reply by shamuse, -
-
-
- Administrators
- 2 replies
- 926 views
Is there a large performance hit to databind a drop down list to an object with lots of unused properties? For example: class myClass { propValue propData prop1 prop2 prop3 prop4 prop5 prop6 } ... ddlList.Datasource = new myClass(....); ddlList.DataTextField = "propData"; ddlList.DataValueField = "propValue"; ddlList.DataBind(); However, lets imagine that in my example, there are many more extra properties than just six unused in this list.
Last reply by Nate Bross, -
-
Who's Online 0 Members, 0 Anonymous, 52 Guests (See full list)
- There are no registered users currently online