10,991 Topics

Member Avatar for
Member Avatar for inztructor

Hi, a pleasant day to all. I just wanna ask if it is possible to search any string or keyword inside my Access Database using the search in my VB.net application? Most of the tutorials only teach on how to search the table using an exact keyword or input. Example: …

Member Avatar for inztructor
0
42
Member Avatar for rev9solution

I'm currently working on a project where technical debt has started to pile up, and it's beginning to affect the stability of our software. However, the team is under pressure to deliver new features quickly, and we’re struggling to strike a balance. What strategies or workflows have you used to …

Member Avatar for rproffitt
-1
14
Member Avatar for Ray brad

My name is Ray Brad. I am a learner in Salesforce development and administration, and I also have knowledge of Java concepts. If anyone has questions related to these topics, feel free to comment, and I will do my best to answer them.

Member Avatar for Osama_21
2
55
Member Avatar for PM312

I have chart showing daily closing price of share for last 20 days. There is no closing price for Saturday and Sunday . However chart is showing blank space for these days i.e. total 29 days interval i do not want blank spaces but only 20 columns. Not getting how …

Member Avatar for PM312
0
44
Member Avatar for CrystalKanger

good day - I am wondering if anyone can explain to me how to allow the user to change the name of the tabs in a tab control via a textbox? For example, at runtime the user will be able to change the title of the tab ("TabPage1") to "Baking" …

2
17
Member Avatar for fx.eko

hi.. I have a problem when compiling the program created in VB6, an error message suddenly appears visual basic has stopped working the condition of the laptop that I use with 4GB memory specifications does this correlate directly while executing the process compile, while if I compile the program with …

Member Avatar for pyeri
0
181
Member Avatar for Bhopat

I am doing small vbproject that must auto generate id using the current year/month/autonumber in vb.net-(VISUAL STUDIO 2010) with MS SQL database. When the form load the autonumber should be displayed in text. And when it save, it should be saved in the database MSSQL. The id number should be …

Member Avatar for pritaeas
0
37
Member Avatar for Julius_10
Member Avatar for rproffitt
0
89
Member Avatar for arcon

I think I can record but I can't read with the option button checkbox I don't know if I do the recording procedure correctly

Member Avatar for SCBWV
0
93
Member Avatar for cambalinho

these is the VB6 function for RayCasting: Private Sub DrawRays() Dim StepX As Double Dim StepY As Double Dim VertX As Double Dim VertY As Double Dim HorizX As Double Dim HorizY As Double Dim MapX As Long Dim MapY As Long Dim HorizDist As Double Dim VertDist As Double …

1
41
Member Avatar for cambalinho

how can i convert cursor files to image? i need see the cur\ani on picturebox?(just for learning) Private Sub btnChooseImage_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnChooseImage.Click If (ofdChooseFile.ShowDialog = Windows.Forms.DialogResult.OK) Then If (ofdChooseFile.FilterIndex = 6) Then Dim cur As New Cursor(ofdChooseFile.FileName) PicShowImage.Image = cur 'error yes Else …

Member Avatar for cambalinho
1
54
Member Avatar for cambalinho
Member Avatar for cambalinho

heres my RayCasting function: Private Sub DrawRays2() Dim AY As Double Dim AX As Double Dim StepX As Double Dim StepY As Double Dim VertX As Double Dim VertY As Double Dim HorizX As Double Dim HorizY As Double Dim MapX As Long Dim MapY As Long Dim HorizDist As …

Member Avatar for cambalinho
1
73
Member Avatar for SCBWV

In case you're wondering, VB6 programs run on Windows 11. Programs with a manifest have the appropriate Windows 11 appearance. The IDE works as well, although it seems to aggravate the known Windows 11 Taskbar flickering issue, but it settles down quickly. The only issue I have found so far …

Member Avatar for wolfnero
1
1K
Member Avatar for cambalinho

i'm using CreateDIBSection(): Public Function NewImage(ByVal ImageWidth As Long, ByVal ImageHeight As Long, Optional color As ColorConstants = vbBlack) As Long If (Width > 0 Or Height > 0 Or hBitmap > 0 Or PointerPixelData > 0) Then DeleteImage Width = ImageWidth Height = ImageHeight 'Criar HDC MemoryHDC = CreateCompatibleDC(0) …

Member Avatar for rproffitt
0
31
Member Avatar for cambalinho

how send parameters on CreateThread()? on a class: Option Explicit Private Declare Function CreateThread Lib "kernel32" (lpThreadAttributes As Any, ByVal dwStackSize As Long, ByVal lpStartAddress As Long, lpParameter As Any, ByVal dwCreationFlags As Long, lpThreadID As Long) As Long Private Declare Function TerminateThread Lib "kernel32" (ByVal hThread As Long, ByVal …

Member Avatar for rproffitt
0
67
Member Avatar for cambalinho

i have tried several ways, but i always get an overflow error :( how can i combine the ARGB color elements? Public Function ARGB(ByVal alpha As Byte, ByVal red As Byte, ByVal green As Byte, ByVal blue As Byte) As Long Dim color As Variant color = CDec(alpha) * 256 …

Member Avatar for cambalinho
0
112
Member Avatar for cambalinho

see these 'for' loop: Public Function SetTransparentColor(color As Long) Dim X As Integer Dim Y As Integer Dim c As Long Dim h As Long Dim w As Long Dim temp As BGRAQUAD ' substitua BGRColor pelo tipo de dado correto usado em bDibBGRA h = Height - 1 w …

Member Avatar for Reverend Jim
0
103
Member Avatar for marrywillson

AI is good for content writer. but some time AI have not perfect solution . so AI not good for future as a content writing prospective.

Member Avatar for Dani
0
50
Member Avatar for Syed Zubair

Dear Team, I am underprocess of a working for Tailor software where i need your kind and appreciation advise. I have fields of cloth like shirt and trouser of a customer, when i enter the records into database it is working well if single shirt or single trouser. **I want …

Member Avatar for rproffitt
0
55
Member Avatar for Syed Zubair

Dear All, I have a project where I have to transfer records from one datagrid control to another datagrid control (like list.additem formation) I have two datagrids in my project and both are connected with ADODC. First datagird showing record at run time, when select a row and click to …

Member Avatar for rproffitt
0
40
Member Avatar for cambalinho

using the Circle method and knowing the start angle(playerangle-30) and end angle (playerangle+30), in degrees, how can i draw the arc?

Member Avatar for cambalinho
0
118
Member Avatar for shane1961

My textbox datatype is DateTime. Using the click event of a button, this code is placed following MyTableBindingSourceAddNew() Dim CurrentDateTime As DateTime = DateTime.Now.ToString("dd.MM.yy hh:mm:ss") Me.SaleDateTextBox.Text = CurrentDateTime I then update table with TableAdapter. On my form I have a dropdown combobox in a toolbar, display member being "SaleDate" This …

Member Avatar for rproffitt
0
76
Member Avatar for Joaquim_5

how can i use CopyMemory() on VB6? i have these funcion: Public Sub Clear(BGRColor As Long) Dim i As Long For i = 0 To (Width * Height) - 1 CopyMemory ByVal PixelData(0) + (i * 4), vbGreen, 4 Next i End Sub how can avoid the 'for' loop? i …

Member Avatar for Gulshan_6
1
300
Member Avatar for cambalinho

heres a sample of using pointers on VB6: Option Explicit Private Const BI_RGB = 0 Private Const CBM_INIT = &H4 Private Const DIB_RGB_COLORS = 0 Private Const USE_BITMAP_ALPHA = &H1000000 Private Type BITMAPINFOHEADER biSize As Long biWidth As Long biHeight As Long biPlanes As Integer biBitCount As Integer biCompression As …

0
114
Member Avatar for mankind33

Hi there, I am a beginner and need your kind support to build an application in VB6. I want to know how to attach a VOLUME CONTROL to a MMcontrol of VB6 in the form. Please reply to [email removed] Thanks and atb.

Member Avatar for frank_49
-1
416
Member Avatar for Joaquim_5

how can i read a file to StdPicture? and draw it on memory HDC? Public Sub LoadImage(strPath As String) Dim myPic As New StdPicture Set myPic = LoadPicture(strPath) NewImage myPic.Width, myPic.Height BitBlt MemoryHDC, 0, 0, Width, Height, myPic.Handle, 0, 0, SRCCOPY 'i get only a black background color End Sub

Member Avatar for rproffitt
1
117
Member Avatar for Pradeep_24

Hello guys i want to convert this string to boolean and i'm passing this string in if condition my Str = "row(0).ToString.Contains(""ABC"")" it should return me boolean result as the condition follows I'm Making use of this in Uipath

Member Avatar for ashishhhroe
0
352
Member Avatar for Joaquim_5

i use the RtlFillMemory(): Call RtlFillMemory(ByVal DataPtr, DIBInf.bmiHeader.biSizeImage, &H80) the '&H80' is the mid-grey color.... what are the others colors code?

Member Avatar for Joaquim_5
0
334
Member Avatar for Joaquim_5

with CreateDIBSection() we create an array of DIB's pixels .. but it's a copy and not a pointer :( when i change 1 pixel or draw a rectangle, i must re-create the DIB's and then draw the result. Private bmpPtr() As Long ReDim bmpPtr(ImageWidth * ImageHeight - 1) hBitmap = …

1
41

The End.