Quantcast
Channel: Programming Forums
Browsing all 51036 articles
Browse latest View live
↧

Convert PNG to 32bpp Bitmap

I need to create a bitmap object that either preserves the alpha channel of a png or adds one if the png has no alpha channel. This: Dim a = New Bitmap( _ My.Application.Info.DirectoryPath &...

View Article


java.net.ProtocolException: Can't reset method: already connected

hi guys, im getting this error but i don´t know why. java.net.ProtocolException: Can't reset method: already connected Code: public void seek(String web) { URL url; try{ String urlParameters = "fName="...

View Article


Most Customizable Shopping Cart Programs

I am looking to implement a new, highly customizable shopping cart for a few ecommerce websites. We are currently using a 3rd party one we link into that is erratic, inflexible on the design, and...

View Article

Inconsistent Docking using WinForms

Hi All, I have UserControls for the sections below the main menu which all have Dock set to Fill. This works absolutely fine and they were dragged onto the GUI using Visual C# Express. However, when I...

View Article

Program running on background

Hello, i am making a program to allow moving cursor using keyboard however, it only allows the user to move the cursor when its on the program interface. Is there any way for the program to run in the...

View Article


XNA 4.0 references not loading properly in VS 2010 pro.

Hello everyone. I recently had a second disk drive installed on my computer and at some point during installation the registry files for Visual Studio were damaged, requiring me to do a...

View Article

What does it means in C and wht simplest form of this statement will

char opponent = (player == 'W')? 'B' : 'W'; i cannot understand that above statement in c and what will be its simplest form? and what is above statement called in c ? c??

View Article

GetComputerName / vb.net

Hi All i have problem when getcomputername my code Dim buffer As String buffer = Space$(512) Dim size As Long = buffer.Length If GetComputerName(buffer, size) Then x_computer_name = Mid(buffer, 1,...

View Article


Nested Loops. Choose when to display character based on size of int.

I need to make half of a octagon, example below. I have the code written to read user input and check to make sure it meets all criteria. For this example below say that the user entered the Integer 4....

View Article


Drawing a 2D roundabout in java for simulation

Hello, does anyone know how to draw a 2D roundabout in java? I'm intending to use the path iterator but for the arc and curves, it will be complex to draw using the path iterator. Does anyone have an...

View Article

What should I choose to connect Java with database ?

What should i choose between JDBC and ODBC to connect Java with Database ? Which is the best way and the the most common ?

View Article

Collisions and Reloading Textures

I'm currently working on my first game in XNA. I have a clear understanding of C# but I am still getting used to some minor things with XNA. The first thing is how would I make simple "wall" collision...

View Article

how to add combobox in ocx property list

i use the following code to add a status property for the ocx which is of string type... Public Class UserControl1 Dim a As String Public Property Property1() As Integer Get End Get Set(ByVal value As...

View Article


Print Crystal Report From Server

hello there i have server have crystal report form and i have web service and i have application that installed on PDT device so when i type number on PDT device the web service call the crystal report...

View Article

[WinForms] Value goes missing

I have a function that increases/decreases each time it runs depending in the situation, and after it runs the function the value goes missing. Its supposed to return a value int that adds to a global...

View Article


Object reference not set to an instance of an object.

Hey DreamForums, Currently i'm having an problem with my code its giving error: Object reference not set to an instance of an object. How can i fix this? [b]FolderDialog:[/ b] Public Sub New() Dim...

View Article

unable to access value from usercontrol

I am trying to access value from usercontrol called Addrow from a form called time sheet ,but when I click the save_btn which is in the timesheet form textbox is empty,the value it a empty string...

View Article


Stroke not appearing while drawing in java

Hello, i'm trying to draw a circle on mouse click. I want the line around the circle to look bigger, i applied a basicStroke however, it is not appearing. Any help how to resolve this? import...

View Article

Number of distinct prime partitions

Hello. I have this homework assignment of mine, hard as hell, where I have to get all the distinct prime partitions of a given number. For example, number 7 has five different prime partitions (or five...

View Article

[ENet] Problem establishing connection

Hello dreamincode! I started playing around with ENet but got a problem. Most part of my code is from the http://enet.bespin.org/Tutorial.html tutorial. If I start the host and then the client, the...

View Article
Browsing all 51036 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>